kingokarma / discord.js-v13ts-template Goto Github PK
View Code? Open in Web Editor NEWA template for Discord.js v13 written in Typescript
License: Apache License 2.0
A template for Discord.js v13 written in Typescript
License: Apache License 2.0
In April of 2022, access to message content will become a Privileged Intent—like presence and guild member data—for developers building or managing verified Discord bots and apps.
This project should look to merge it's remaining commands into slash commands & maybe remove regular command ability to thin down on project size & complexity.
The bot logs:
BotName#0000 is online!
[]
Started refreshing application (/) commands
Sucessfully reloaded application (/) commands.
But doesn't actually refresh (/) commands. It still shows the / commands from my old javascript code. And it doesn't show the ones that come with the bot like "say" and "dev". I haven't changed anything in the code
Hey, thanks for this template!
I recently started using this repo and noticed that the commands weren't registering, and when i looked into client/client.ts
, I realized it was filtering .js
files instead of .ts
files.
Example:
Changing it to .ts
fixes it for me, and it looks like most of the readdirSync
functions look for .js
extensions.
This is a pretty small fix so I just wanted to let you know, but if you want I can definitely submit a PR!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.