Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
AI
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

# SGDiscordBot

Bot can currently be used to store server/user information in a database. Along with log messages. Config .json files go in a folder called Data in the same path as the .exe

Commands:

shutdown: Shuts the bot down. Can only be used by a user with a role in commandRoleIds in CredConfig.json.
ex. @bot shutdown

restart: restarts the bot. Can only be used by a user with a role in commandRoleIds in CredConfig.json.
ex. @bot shutdown

messagetrack: Will send a message when the server's message count is one below or above the given count. params: enabled, count, channel, message Can only be used by a user with a role in commandRoleIds in CredConfig.json.
ex: @bot messagetrack true 50000 #announcement "This is a message"

reloadmescount: reprocesses the mesCount column in usersinservers. Can only be used by a user with a role in commandRoleIds in CredConfig.json.

messagecount: Can get several message count statistics for the server.

Command Description
@bot messagecount Top message count on the server.
@bot messagecount [number] Top n message counts on the server.
@bot messagecount @user Will get a user's message count.
@bot messagecount @role Will get the message count for a role and it's top user.

reloadmessages: Will reload all the messages for the channel the messages was sent in. Or all on the server if all is passed in.
Does not overwrite messages already in the database.
Can be an expensive operation, only use if the bot has missed a significant amount of messages or when the bot is first added to server.
Can only be used by a user with a role in commandRoleIds in CredConfig.json.

Command Description
@bot reloadmessages [channel] Reloads messages for channel mentioned.
@bot reloadmessages Reloads messages for every channel on server.

emojicount:

Can get various emoji use statistics for the server.
Can only get custom emojis for the server.
Note this can be a slow operation on server's with a large message count.

Command Description
@bot emojicount Gets the top used emoji and top user for emoji.
@bot emojicount [number] Top n emoji counts.
@bot emojicount [emoji] Use count of specific emoji and its top user.
@bot emojicount [user] Get a user's most used emoji.
@bot emojicount [number] [user] Top n emoji counts for a specific user.

rolecounts: Will get the counts of users in roles for the server.
Use mentions is true/false and determines if the list will mention the roles or just give names.
Can only be used by a user with a role in commandRoleIds in CredConfig.json.

Command Description
@bot rolecounts [useMentions] Outputs list to channel command was used in.
@bot rolecounts [channel] [useMentions] Outputs list to given channel.

AI:

Command Description
@bot buildcorpus [forceRebuild] Rebuilds the corpus used for generating messages. (commandRoleIds)
@bot chat Generates a message in the channel it was used in.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Languages