Code Monkey home page Code Monkey logo

discord.js-v13ts-template's Introduction

Hi there 👋

You can checkout my portfolio over Here Or just browse through my github in the mean time


KFC Bucket boi

discord.js-v13ts-template's People

Contributors

blooym avatar kingokarma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

discord.js-v13ts-template's Issues

Slash commands aren't refreshing

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

`client.ts` Not Detecting Commands with Hot Reload

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:

const cmds = readdirSync(`${commandPath}/${dir}`).filter((file) => file.endsWith(".js"));

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!

Suggestion: Message Command Removal

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.