Skip to content

arjun-ms/King-Ragnar-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

King Ragnar Discord Bot

To-Do

  • greet a newly joined member in a channel (random message)
  • while adding a reaction to a message send a message to a channel ( gave reaction to )
  • parameterized command (eg - !role <role_name>), create a role named the parameter recieved and assign it to the user.
  • using a parameterized command(eg - !register ) insert the name to database, if same name tries to register again send error message to channel.
  • with a role restricted command retrieve all names in the database ( eg - !names)

Commands

  • !register yourname - to add yourname to the db
  • !names - to list all names in db(requires nikhil role)
  • !role rolename - to get the specified role

MySQL To Create Table

CREATE TABLE users (
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(255)
)

Screenshots

Bot welcoming new users

discord1

!role rolename - to get the specified role

discord2

!register yourname - to add yourname to the db
!names - to list all names in db(requires arjunms role)

discord3

Sending message when someone reacts

discord4

About

Trying out Discordpy by making a basic discord bot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages