Skip to content

Discord bot created by Phoenix for general usage.

Notifications You must be signed in to change notification settings

parsoFish/PBot-for-Discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PBot-for-Discord v1.5

Discord bot created by Phoenix for general usage.

Currently only used in "The Cute Squad" Discord server for general commands.

Current list of commands:
!8ball - Responds with an 8-ball type response.
!list - Returns the list of available commands.
!log - Admin Only Sends a PM of events that have occurred since the bot's startup.
!owner - Returns the nickname of the owner of the server.
!ping - Returns Pong! if successful, as well as the time the ping request was sent.
!quote - Returns a random quote from a Sprash member.
!roles - Returns a list of the roles in this server, as well as a count of how many people are assigned each role.
!roll - Rolls a 6-sided dice and returns the result. Add a number to roll more than once (1-100 times).
!shutdown - Admin Only Shuts down the bot and PMs the event log to the sender.
!uptime - Displays how much time has passed since the bot last started up.
!users - Returns the number of users in the server.


Technical overview of the bot's code

Via a listener class, each message sent in #bot-stuff or #testing-bot is picked up if it begins with !. The message is then parsed and compared with the list of commands known to the bot. If it matches, the action() method of the command is called and the command is ran.


Request any commands you feel like, I get a block of creativity very often and need suggestions on where to go next :3

About

Discord bot created by Phoenix for general usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages