All commands are prefixed with an exclamation mark.
whois
- Returns the real name of a user
Examples
!whois @Harold
!whois Harold
insert_user
- Inserts a new user into the user catalogue.
Examples
!insert_user @covfefe, Donald Trump
!insert_user covfefe, Donald Trump
list_users
- Lists all registered users
delete_user
- Deletes a user from the user catalogue.
Examples
!delete_user @covfefe, Donald Trump
!delete_user covfefe, Donald Trump
fetch_users_json
- Sends the user.json file.
register
- Sends a registration request
Examples
!register Donald Trump,
!register Donald Trump, <some verification e.g. link to a driving license>
Stored in conf.json
Example:
{
"App" : {
"UserSaveLoc" : "./users.json"
},
"Discord" : {
"APIKey" : "The bot's secret token. This is not the client secret.",
"GuildId" : "The guild's id",
"AdminRole" : "Committee",
"MemberRole" : "ICAS Members",
"FresherRole": "Fresher",
"AdminChannel" : "Channel to send register",
"ImageChannels": [
"name of image channel to have source reverse lookups made"
],
"EmojiReactID": "395721719144251393"
},
"Verification": [
"Your driving licence"
],
"Web" : {
"Address" : "http://localhost",
"Port" : 8080
},
"SauceNAO": {
"apikey": ""
}
}