Skip to content
Cogs for the Red Discord Bot https://github.com/Cog-Creators/Red-DiscordBot
Branch: master
Clone or download
Flame442 Merge pull request #23 from Flame442/dev
Hotfix for bugs that slipped into 3.1
Latest commit 3d54d8d May 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Create issue templates Dec 21, 2018
battleship Typo fix May 18, 2019
deepfry [3.1] on_message listener May 7, 2019
face Update setup.md May 17, 2019
gameroles [3.1] on_member_update listener May 7, 2019
hangman Update info.json Apr 29, 2019
monopoly Update info.json Apr 29, 2019
onlinestats
partygames [3.1] on_message listener, get_message renamed to fetch_message May 7, 2019
simpleembed Update info.json Apr 29, 2019
wordstats
LICENSE Initial commit Nov 10, 2018
README.md Update README.md May 11, 2019
info.json Update info.json May 17, 2019

README.md

FlameCogs

Discord server Red cogs discord.py

Cogs for a Red Discord Bot
These cogs are a collection of random stuff I make.

Installation

These are cogs for the Red Bot V3 so ensure you have a working red bot.

Make sure downloader is loaded

[p]load downloader

[p] is your prefix.

Add this repo using

[p]repo add flamecogs https://github.com/Flame442/FlameCogs

Then, install each cog individually with

[p]cog install flamecogs <cog name>

And load each cog with

[p]load <cog name>

Cogs

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.
Gameroles Grant roles when a user is playing a specific game.
Hangman Play hangman with the bot.
Monopoly Play monopoly with up to 7 other people in your server.
Onlinestats Information about what devices people are using to run discord.
Partygames Chat games focused on coming up with words from 3 letters.
SimpleEmbed Simply create embeds.
Wordstats Track commonly used words by server and member.

Battleship

This cog will let you play battleship against another member of your server.

Usage

[p]battleship
Begin a game of battleship.

[p]battleshipset <argument>
Config options for batteship.
This command is only usable by the server 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 server 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 server owner and bot owner.
This value is server specific.

Deepfry

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.

Usage

[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 server 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 server 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 server 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 server owner and bot owner.
This value is server specific.

Face

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!

Usage

[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 server owner and bot owner.

[p]faceset menu [value]
Set if results should be made into a menu.
If in a menu, one large image with faces marked will be sent instead of cropped images of each face.
Defaults to True.
This command is only usable by the server owner and bot owner.
This value is server specific.

Gameroles

This cog will grant roles when a user is playing a specific game.

Usage

[p]gameroles <argument>
Alias [p]gr <argument>

[p]gameroles addrole <role>
Sets a role to be managed by gameroles.
Roles with with multiple word names need to be surrounded in quotes. The bot's highest role needs to be above the role that you are adding and the bot needs permission to manage roles.
This command is only usable by the server owner and bot owner.

[p]gameroles delrole <role>
Stop a role from being managed by gameroles.
Roles with with multiple word names need to be surrounded in quotes.
This command is only usable by the server owner and bot owner.

[p]gameroles addactivity <role> <activity>
Add an activity to trigger a role.
Roles and activities with with multiple word names need to be surrounded in quotes.
You can get the name of your current activity with [p]gameroles currentactivity.
This command is only usable by the server owner and bot owner.

[p]gameroles delactivity <role> <activity>
Remove an activity from triggering a role.
Roles and activities with with multiple word names need to be surrounded in quotes.
You can get the name of your current activity with [p]gameroles currentactivity.
This command is only usable by the server owner and bot owner.

[p]gameroles listroles
List the roles currently managed by gameroles.
This command is only usable by the server owner and bot owner.

[p]gameroles listactivities <role>
List the activities that trigger a role.
Roles with with multiple word names need to be surrounded in quotes.
This command is only usable by the server owner and bot owner.

[p]gameroles currentactivity
Get your current activity.
This command is only usable by the server owner and bot owner.

[p]gameroles recheck
Force a recheck of your current activities.

Hangman

This cog will play hangman with you.

Usage

[p]hangman
Begin a game of hangman.

[p]hangmanset <argument>
Config options for hangman.
This command is only usable by the server 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 server owner and bot owner.
This value is server specific.

Monopoly

This cog will let you play monopoly with up to 7 other people in your server.

Usage

[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 server 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 server 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 server 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 server 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 server 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 server 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 server 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 server 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 server 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 server owner and bot owner.
This value is server specific.

Onlinestats

This cog gives information about what devices people are using to run discord.

Usage

[p]onlinestatus
Prints how many people are using each type of device.
Alias: [p]onlinestats

[p]onlineinfo
Shows what devices a user is using.

Partygames

This cog has chat games focused on coming up with words from 3 letters.

Usage

[p]partygames <argument>
Alias [p]pg <argument>

[p]partygames bombparty [hp]
Start a game of bombparty.
Each player will be asked to come up with a word that contains the given characters.
If they are unable to do so, they will lose a life.
Words cannot be reused.
The last person to have lives left wins.
Use the optional paramater hp to set the number of lives each person starts with.

[p]partygames fast [maxpoints]
Race to type a word the fastest.
The first person to type a word that contains the given characters gets a point.
Words cannot be reused.
The first person to get maxpoints points wins.
Use the optional paramater maxpoints to set the number of points required to win.

[p]partygames long [maxpoints]
Type the longest word.
The person to type the longest word that contains the given characters gets a point.
Words cannot be reused.
The first person to get maxpoints points wins.
Use the optional paramater maxpoints to set the number of points required to win.

[p]partygames most [maxpoints]
Type the most words.
The person to type the most words that contain the given characters gets a point.
Words cannot be reused.
The first person to get maxpoints points wins.
Use the optional paramater maxpoints to set the number of points required to win.

[p]partygames mix [maxpoints]
Play a mixture of all 4 games.
Words cannot be reused.
The first person to get maxpoints points wins.
Use the optional paramater maxpoints to set the number of points required to win.

[p]partygames locale <locale>
Override the bot's locale for partygames.
Use reset to remove the override.
This command is only usable by the bot owner.
This value is global.

SimpleEmbed

This cog will let you send embedded messages quickly and easily.

Usage

[p]sendembed [color] <text>
Send an embed.
Use the optional paramter color to change the color of the embed.
The embed will contain the text text.
All normal discord formatting will work inside the embed.

Wordstats

This cog will track commonly used words by server and member.

Usage

[p]wordstats [member_or_guild] [amount_or_word]
Prints the most commonly used words.
Use the optional paramater member_or_guild to see the stats of a member or guild, or set it to global to see global stats.
Use the optional paramater amount_or_word to change the number of words that are displayed, or to check the stats of a specific word (default 30).

[p]topchatters [guild] [word] [amount]
Prints the members who have said the most words.
Use the optional paramater guild to see the topchatters in a specific guild, or set it to global to see global stats.
Use the optional paramater word to see the topchatters of a specific word.
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 server 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 server 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 server owner and bot owner.
This value is channel specific.

Contact

Feel free to create an issue on this repository or join my discord if you have any issues.

Credit

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,
Hasbro for creating the games that Battleship and Monopoly are based off of,
TrustyJAID for helping with Deepfry,
Desi Quintans for the wordlist used by Hangman,
iComputer7#0007 for the inspiration for Face,
Microsoft Azure for the API that Face uses,
Sparklin Labs for creating the game that Partygames is based off of,
/u/YoungsterGlenn for the wordlist used by Partygames,
Sinbad for helping with Wordstats,
And Preda for translating Partygames.

You can’t perform that action at this time.