Skip to content

NicolasAoki/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-bot

Fun approach to list members of the Voice Channel at Discord

  • Log to the discordApp server through api
  • Listen to changes with the prefix !daily
  • get all members inside a specific channel
  • run those users through a random sort algorithm
  • return list of members to discordApp client

After adding the bot to the server. Run the index.js to attend to all requests made to the bot.

Must insert config.json file. The token is set at the Bot manager

{
    prefix: '!',
    token: 'T0sQ...'
}

To get Channel and Members ID's it's necessarly to run discordApp with developers mode, and right click to access the element.

Arguments feature

If you want to specify which VoiceChannel to sort the list of members

!daily <voiceChannel name>
!daily b2c

Important

If the application is hosted at Heroku's, then you must configure the token variable to be accessed through the node process variable

to-do

  • Get the Channel dynamically from who triggered the request
  • set Preferencial users to be along side when executing the sorting algorithm
  • Exclude member parameter to not include a member in the sorting list

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors