Cogs for a Red Discord Bot
These cogs are a collection of random stuff I make.
These are cogs for the Red Bot V3 so ensure you have a working red bot.
Add this repo using
[p]repo add flamecogs https://github.com/Flame442/FlameCogs
[p] is your prefix.
Then, install each cog individually with
[p]cog install flamecogs <cog name>
And load each cog with
[p]load <cog name>
Name | Description |
---|---|
Battleship | Play battleship against another member of your server. |
Deepfry | Deepfry and nuke images. |
Face | Find and describe the faces in an image. |
Gamevoice | Make voice channels require playing a specific game in order to join. |
Hangman | Play hangman with the bot. |
Monopoly | Play monopoly with up to 7 other people in your server. |
Wordstats | Track commonly used words by server and member. |
This cog will let you play battleship against another member of your server.
[p]battleship
Begin a game of battleship.
[p]battleshipset <argument>
Config options for batteship.
This command is only usable by the guild owner and bot owner.
[p]battleshipset extra [value]
Set if an extra shot should be given after a hit.
Defaults to True
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]battleshipset mention [value]
Set if players should be mentioned when their turn begins.
Defaults to True
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
This cog lets you deepfry and nuke images. It has a configurable chance to deepfry any image posted automatically and users can choose to deepfry or nuke images.
[p]deepfry [link]
Deepfries the attatched image.
Use the optional paramater link
to use a direct link as the target.
Alias: [p]df
[p]nuke [link]
Nukes the attatched image.
Use the optional paramater link
to use a direct link as the target.
[p]deepfryset <argument>
Config options for deepfry.
This command is only usable by the guild owner and bot owner.
[p]deepfryset frychance [value]
Change the rate images are automatically deepfried.
Images will have a 1/[value]
chance to be deepfried.
Higher values cause less often fries.
Set to 0
to disable.
Defaults to 0
(off)
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]deepfryset nukechance [value]
Change the rate images are automatically nuked.
Images will have a 1/[value]
chance to be nuked.
Higher values cause less often nukes.
Set to 0
to disable.
Defaults to 0
(off)
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]deepfryset allowalltypes [value]
Allow filetypes that have not been verified to be valid.
Can cause errors if enabled, use at your own risk.
Defaults to False
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
This cog will find faces in images and give information about them such as predicted age, hair color, and emotions.
This cog requires an API key from Microsoft Azure Face API. Setup instructions can be found here!
[p]face [link]
Finds and describes faces in the attatched image.
Use the optional paramater link
to use a direct link as the target.
[p]faceset <argument>
Config options for face.
This command is only usable by the guild owner and bot owner.
[p]faceset key <key>
Set the API key.
This value is global.
[p]faceset url <key>
Set the API URL.
This value is global.
[p]faceset menu [value]
Set if results should be made into a menu.
If in a menu, cropped images of each face will not display, but there will be less spam.
Defaults to True
.
This value is server specific.
This cog lets you make voice channels that require a user to be playing a specific game in order to join.
[p]gamevoice <argument>
Alias [p]gv <argument>
[p]gamevoice set
Sets the voice channel you are in to only work with the game you are playing.
Any activity will count, including Spotify, so make sure discord thinks you are doing the correct activity.
This command is only usable by the guild owner and bot owner.
[p]gamevoice reset
Resets the voice channel you are in to defaults.
Will remove ALL permissions, not just those set by the cog, making it completely open.
This command is only usable by the guild owner and bot owner.
[p]gamevoice listroles
Lists all the roles created for games on the server.
This command is only usable by the guild owner and bot owner.
[p]gamevoice deleterole <name>
Delete a role from the server.
Also removes that game's restrictions from all channels.
Case sensitive.
Use [p]gv listroles
to see all roles.
This command is only usable by the guild owner and bot owner.
Alias [p]gamevoice delrole <name>
[p]gamevoice recheck
Force a recheck of your current game.
Use this if you are playing the correct game and it does not let you join.
This cog will play hangman with you.
[p]hangman
Begin a game of hangman.
[p]hangmanset <argument>
Config options for hangman.
This command is only usable by the guild owner and bot owner.
[p]hangmanset wordlist [value]
Change the wordlist used.
Extra wordlists can be put in the data folder of this cog.
Wordlists are a text file with every new line being a new word.
Use default
to restore the default wordlist.
Use list
to list available wordlists.
This value is server specific.
[p]hangmanset edit [value]
Set if hangman messages should be one edited message or many individual messages.
Defaults to True
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
This cog will let you play monopoly with up to 7 other people in your server.
[p]monopoly [savename]
Begin a game of monopoly.
Use the optional paramater savename
to load a saved game.
[p]monopolyset <argument>
Config options for monopoly.
This command is only usable by the guild owner and bot owner.
[p]monopolyset mention [value]
Set if players should be mentioned when their turn begins.
Defaults to False
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]monopolyset startingcash [value]
Set how much money players should start the game with.
Defaults to 1500
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]monopolyset income [value]
Set how much Income Tax should cost.
Defaults to 200
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]monopolyset luxury [value]
Set how much Luxury Tax should cost.
Defaults to 100
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]monopolyset auction [value]
Set if properties should be auctioned when passed on.
Defaults to False
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]monopolyset bail [value]
Set how much bail should cost.
Defaults to 50
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]monopolyset maxjailrolls [value]
Set the maximum number of rolls in jail before bail has to be paid.
Defaults to 3
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]monopolyset go [value]
Set the base value of passing go.
Defaults to 200
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]monopolyset doublego [value]
Set if landing on go should double the amount of money given.
Defaults to False
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
This cog will track commonly used words by server and member.
[p]wordstats [member] [amount]
Prints the most commonly used words.
Use the optional paramater member
to see the stats of a member.
Use the optional paramater amount
to change the number of words that are displayed, or to check the stats of a specific word (default 30
).
[p]topchatters [amount]
Prints the members who have said the most words.
Use the optional paramater amount
to change the number of members that are displayed (default 10
).
[p]wordstatsset <argument>
Config options for wordstats.
This command is only usable by the guild owner and bot owner.
[p]wordstatsset server [value]
Set if wordstats should record stats for the channel the command is used in.
Defaults to True
.
This command is only usable by the guild owner and bot owner.
This value is server specific.
[p]wordstatsset channel [value]
Set if wordstats should record stats for the server the command is used in.
Defaults to True
.
This command is only usable by the guild owner and bot owner.
This value is channel specific.
[Monopoly] Add config for various house rules (auctions, free parking, landing on go, etc)
[Battleship/Hangman/Monopoly] Add optional betting to games
Feel free to create an issue on this repository or join my discord if you have any issues.
Thanks to the creators of Redbot for creating the base these cogs run on, the helpful support staff at the Redbot discord, Aikaterna for taking the time to QA this repo, TrustyJAID for helping with deepfry, Desi Quintans for the wordlist used by Hangman, and iComputer7#0007 for the idea to make face.