Discord MonkeyBot

This topic contains 13 replies, has 5 voices, and was last updated by  MSFett 4 weeks ago.

Viewing 14 posts - 1 through 14 (of 14 total)

Discord MonkeyBot

#26128

Hey, as most of you have noticed I have made a small Discord Bot for our own needs.

It currently supports the following commands:

Module: Admin Commands
Module Preconditions: Minimum permission: ServerAdmin
!addowner username
Command Preconditions: Minimum permission: BotOwner
Adds the specified user to the list of bot owners
!removeowner username
Command Preconditions: Minimum permission: BotOwner
Removes the specified user from the list of bot owners

Module: Announcements
Module Preconditions: Minimum permission: ServerAdmin, Can only be used in a channel
!announcements addrecurring announcementId cronExpression announcement
Adds the specified recurring announcement to the current channel of the current guild.
!announcements addrecurring announcementId cronExpression channelName announcement
Adds the specified recurring announcement to the specified channel of the current guild.
!announcements addsingle announcementId time announcement
Adds the specified single announcement at the given time to the current channel of the current guild.
!announcements addsingle announcementId time channelName announcement
Adds the specified single announcement at the given time to the specified channel of the current guild.
!announcements list
Lists all upcoming announcements for the current guild
!announcements remove id
Removes the announcement with the specified ID from the current guild.
!announcements nextrun id
Gets the next execution time of the announcement with the specified ID.

Module: BenzenFactModule
!benzen
Returns a random fact about Benzen
!addbenzenfact fact
Add a fact about Benzen

Module: GameServer
Module Preconditions: Minimum permission: ServerAdmin, Can only be used in a channel
!gameserver add ip
Adds the specified game server and posts it’s info info in the current channel
!gameserver add ip channelName
Adds the specified game server and sets the channel of the current guild where the info will be posted.
!gameserver remove ip
Removes the specified game server

Module: Game Subscriptions
Module Preconditions: Minimum permission: User, Can only be used in a channel
!subscribe gameName
Subscribes to the specified game to get a PM every time someone launches it
!unsubscribe gameName
Unsubscribes to the specified game

Module: Guild Configuration
Module Preconditions: Minimum permission: ServerAdmin, Can only be used in a channel
!setwelcomemessage welcomeMsg
Sets the welcome message for new users. Can make use of %user% and %server%
!addrule rule
Adds a rule to the server.
!removerules
Removes the rules from a server.
!addfeedurl url
Adds an atom or RSS feed to the list of listened feeds.
!removefeedurl url
Removes the specified feed from the list of feeds.
!removefeedurls
Removes all feed urls
!enablefeeds channelName
Enables the feed listener in the specified channel
!disablefeeds
Disables the feed listener

Module: Help
Module Preconditions: Minimum permission: User
!help
List all usable commands.
!help command
Gets help for the specified command

Module: Info
!rules
Command Preconditions: Can only be used in a channel
The bot replies with the server rules in a PM
!games
Command Preconditions: Can only be used in a channel
Lists all games roles and the users who have these roles

Module: Simple poll
Module Preconditions: Can only be used in a channel, Minimum permission: User
!poll question
Starts a new poll with the specified question and automatically adds reactions
!poll question answers
Starts a new poll with the specified question and the list answers and automatically adds reactions

Module: Roles
Module Preconditions: Minimum permission: User, Can only be used in a channel
!roles add roleName
Adds the specified role to your own roles.
!roles remove roleName
Removes the specified role from your roles.
!roles list
Lists all roles that can be mentioned and assigned.

Module: Trivia
Module Preconditions: Minimum permission: User, Can only be used in a channel
!trivia start questionAmount
Starts a new trivia with the specified amount of questions.
!trivia stop
Stops a running trivia
!trivia skip
Skips the current question
!trivia scores amount
Gets the global scores

Module: XkcdModule
!xkcd arg
Gets a random xkcd comic or the latest xkcd comic by appending “latest” to the command
!xkcd number
Gets the xkcd comic with the specified number

Also it welcomes new users to our Discord server.

Post here for feature requests and I will try my best. We can always try and find an already existing bot if required but there are just too many 😀

  • This topic was modified 4 months, 3 weeks ago by  Markus (aBraXuS). Reason: Added new commands
  • This topic was modified 4 months, 3 weeks ago by  Markus (aBraXuS). Reason: Added new commands
  • This topic was modified 4 weeks, 1 day ago by  Markus (aBraXuS). Reason: added new commands

Reply To: Discord MonkeyBot

#26180

Updated the bot with announcements. It can either send announcements regularly or once at a given time and they will get posted in the rules_and_info channel so you might want to enable notifications for that channel.
Updated the documentation in the first post (which now also builds itself so less work for me yay)

Any more feature requests?
I could work on a simple voting system like strawpoll next

Profile Photo

Reply To: Discord MonkeyBot

#26181

Maybe add !rules and !help in welcomemessage? =)

*edit * and make the rules appear in a PM

Profile Photo

Reply To: Discord MonkeyBot

#26182

Maybe add !rules and !help in welcomemessage? =)
*edit * and make the rules appear in a PM

thats already done 🙂 u get a PM

Reply To: Discord MonkeyBot

#26187

Added !rules command which will PM you our rules
Added !games command that will PM you all game roles and the users who have that role
Removed useless !say command
Modified the welcome message to include !rules and !help

Reply To: Discord MonkeyBot

#26227

Changed a lot under the hood so it is ready for multiple servers (not that we need it but for shits and giggles)

Added trivia game

Added xkcd command

Updated first post accordingly

Reply To: Discord MonkeyBot

#26233

Updated the bot to prevent multiple votes of the same person on a poll… yes I am looking at you cheaters 😀

Reply To: Discord MonkeyBot

#26237

As per popular request by a single person I added the famous Benzen trivia but without it being a trivia. Instead it just posts a random fact about Benzen when you type !Benzen
You can now also add new facts with !AddBenzenFact fact … The fact must include Benzen

Enjoy 😀

Reply To: Discord MonkeyBot

#26254

Added the ability to listen to RSS feeds. When enabled it gets the updates from all added rss feeds every 30 mins.
The goal was to get updates from our Forum/website posted on Discord

Profile Photo

Reply To: Discord MonkeyBot

#26257

Neat!

Reply To: Discord MonkeyBot

#26258

I added a 30 second timeout to trivia questions

Reply To: Discord MonkeyBot

#26456

After some time of no work on the Bot I implemented some new functionality.

As you might have seen the Bot currently posts the status of our Squad server (Connected players, map, etc.). It should work for any game that implements the steam server query protocol though.

Another one is the new !subscribe game command. E.g. you can type “!subscribe squad” and then you will get a private message everytime someone launches it (if they haven’t disabled it in their Discord Client). The gamename parameter doesn’t have to be the exact name of the game. If you subscribe to Battlefield you will get notifications for BF1 and BF4 for example. So go ahead and spy on your friends 😉 !Unsubscribe gamename will disable it for you again.

As always if you have any suggestions don’t hesitate to tell me. And try not to break too much… 😛

Profile Photo

Reply To: Discord MonkeyBot

#26462

nice work!! 🙂

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.