Skip to content

issues Search Results · repo:CodingTrain/Discord-Bot-Examples language:JavaScript

Filter by

7 results
 (64 ms)

7 results

inCodingTrain/Discord-Bot-Examples (press backspace or delete to remove)

The new JS version of this came out just when I was looking to learn to make a Discord bot. It worked great after previous false starts in other languages. But after getting to a certain point I tried ...
  • hippietrail
  • 3
  • Opened 
    on Dec 16, 2023
  • #23

I m just going to post this here because technically in the example bot the Guilds intent isn t even required. This intent just sends events related to guilds but the example code doesn t even require ...
  • supercrafter100
  • 12
  • Opened 
    on Oct 11, 2023
  • #12

Discord.JS // ... stuff to get all the commands using djs ... // // Construct and prepare an insance of the REST module const rest = new REST().setToken(process.env.TOKEN); // and deploy your commands! ...
  • dipamsen
  • 4
  • Opened 
    on Oct 9, 2023
  • #7

The README still uses old commonJS imports while #1 converted the code inside the discordjs example to es6 imports. Though this means an extra step is needed as you re required to change the type to module ...
  • supercrafter100
  • 1
  • Opened 
    on Oct 9, 2023
  • #5

Currently, you re inviting the bot itself and then authorizating the command application seperately. This can be done in a single step by just including the application.commands scope when you re inviting ...
  • supercrafter100
  • Opened 
    on Oct 9, 2023
  • #4

Ways to respond to an interaction (All info is sourced from Discord Developer Portal - Receiving and Responding and DiscordJS Guide - Response Methods) Deferred Responses - Any interaction received ...
  • dipamsen
  • 2
  • Opened 
    on Oct 9, 2023
  • #3

Moved review note from #1 I totally forgot to mention but fetch is now natively supported in node. There isn t a need to actually install the package anymore. Since v18.18.0 it is implemented, see https://nodejs.org/dist/latest-v18.x/docs/api/globals.html ...
  • dipamsen
  • Opened 
    on Oct 8, 2023
  • #2
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub