- Description
- Installation
- Cogs
- Adkillr
- Antifilter
- Autorole
- Battleship
- Betterhelp
- CMDCommands
- CMDSuffix
- Coder
- Embed
- FTPStats
- Fuckoff
- Gardener
- Giveme
- Harambe
- Lyriccommands
- Marry
- Memes
- Modlog
- Raidprotect
- Randomshizzle
- Serverinfo
- Spam
- Steam
- Translator
- Useful
- Warner
- Welcomr
- Wordfilter
- WoT
- Needed
- Annotations
- Assistance
This is a repository with all of the cogs I make, some are fun others are for serious things.
If you want to install the repository make sure you have discord.py 0.15.0 or higher
[p]cog repo add PTSCogs https://github.com/PlanetTeamSpeakk/PTSCogs
You can then list and install the available cogs.
[p]cog list PTSCogs
Need more help with installation? Assistance
Some commands that run from the command prompt, currently windows only, most of them are not meant for a VPS but if you're selfhosting the bot there's no problemo.
[p]cmdcommands <cmd command>¹ runs a command from the commandprompt.[p]cmdcommands md <directoryname>¹ creates a directory with the given name, a folder.[p]cmdcommands pip3install <packagename>¹ install pip3 packages, like if a cog says you need to run pip3 install Packagename you can use this.[p]cmdcommands pipinstall <packagename>¹ same as pip3install but for pip instead of pip3.[p]cmdcommands pip3upgrade <packagename>¹ same as pip3install but also adds --upgrade behind the packagename to indicate it has to be updated.[p]cmdcommands pipupgrade <packagename>¹ same as pip3upgrade but for pip instead of pip3.[p]cmdcommands emptycog <cogname>¹creates an emptycog for you.[p]cmdcommands startcog <cogname>¹ starts a cog for you to edit, requires standard open software for .py files to be a .py editor.
Embeds a message for you, can be an announcement.
[p]embed² dm's you help for the embed command.[p]embed true <color> <title> <description> <footer>² it is all explained pretty well in the embed command.[p]embed false <color> <title> <description> <footer>² it is all explained pretty well in the embed command.
Tell someone to fuck off.
[p]foff <@user>tells someone to fuck off.[p]afoff <@user>tells someone to fuck off but doesn't mention your name and deletes your message if it has perms.[p]ifoff <item>allows you to fuckoff anything, even roles![p]iafoff <item>same as the afoff command but for items.
#DixOutForHarambe
[p]harambeshows you a little text for harambe. Our dix will forever be out for you Harambe.[p]harambeinfogives you some info about, the sadly now dead, harambe.
Some commands for song lyrics.
[p]fuckthisshitgives the lyrics for https://youtu.be/9wO5TnYaJ4o?t=53s.[p]princeofbelair [@user]gives the lyrics for https://www.youtube.com/watch?v=AVbQo3IOC_A, but changes The Prince of Bel Air to the user if one was given.[p]hemangives the lyrics for https://www.youtube.com/watch?v=ZZ5LpwO-An4.
Some dank commands.
[p]memeshows you a random meme.[p]addmemeadds a meme to the meme list, must be hosted on imgur (to prevent non-image links).[p]delmeme² deletes a meme from the meme list.[p]goodshitshows the goodshit copypasta.[p]yesnosays yes or no with a meme.[p]datboioh shit waddup.[p]airhornplays a random airhorn sound.[p]airhornsong <songname>plays a airhornsong for a list of songs type in[p]airhornsong list.- Reacts to ayy.
- Reacts to o shit
- Reacts to oh shit.
- Reacts to feels bad man.
Some random commands that don't really serve a purpose.
[p]cooldogthe cooldog copypasta.[p]flipitem <item>flips anything.[p]soundsfromspacegives a link to the spoopy http://github.audio website.[p]punch <@user>punches a user.[p]ipunch <item>punches everything.[p]triggeredTRIGGEREDDDD.[p]kysthe lenny kys copypasta.[p]pressf [times]shows your respect x amounts of times, default is 1 max is 4.[p]colorrole <color>creates a color role for you and only for you.[p]rainbow <times> <interval>creates a rainbow message for you!
Some commands about the server.
[p]server ownershows you the server owner.[p]server namefor if you for some reason can't read the servername yourself, like if you're a total dipshit.[p]server sidshows you the server ID.[p]server channelnameagain for if you're a total dipshit and can't read the channelname yourself.[p]server cidshows you the channel ID.[p]server timeI dunno.[p]server rolesshows you all of the server roles.[p]server emojisshows you all of the custom server emojis.[p]server usersshows you all of the server users, unless there are more than 32 than it dm's you the users to prevent spam.[p]server channelsshows you all of the server channels.[p]server compareidscompares the server and channel ID's to see if it is default, could've used is_default but too late now.[p]server icongives you a link to the server icon.[p]server infoshows you about everything you want to know about the server.[p]server channelinfo [#channel]shows you the information for the given channel, if none for the channel you're in.[p]server userinfo [@user]shows you information for the given user, if none it gives it for you.
Some spam commands.
[p]spam <@user> <spamtext> [amount]² spams the user x amounts of times, default is 4.[p]aspam <@user> <spamtext [amount]² spams the user x amounts of times but doesn't show your name, default is, again, 4.[p]cspam <spamtext [amount]² spams x times in the channel, default is 4.[p]acspam <spamtext> amount² spams x times in the channel but deletes the message containing the command and doesn't show your name, default is again 4.
Some useful commands.
[p]avatar <@user>shows you the avatar of the given user.[p]calc <num1> <operation> <num2>calculates something for you, current operations are -, /, *, and x (x is just another way for *)[p]suggestsuggests something to the bot owner, just another way of using[p]contact.[p]botownershows you who's boss.[p]invitesends you an invite link for the bot.[p]genoauth <client_id> [perms]generates an oauth url for the given client ID, perms can be calculated at https://discordapi.com/permissions.html[p]genbotoauth <@bot> [perms]generates an oauth url for the given bot, doesn't always work.[p]uploadcog <cogname>uploads a cog the bot uses to discord.[p]show_cogsshows all the cogs, just like[p]cogsbut not owneronly.[p]emoteurl <emote>gives a link for a custom emoji.[p]showserversshows you the servers the bot is in.[p]convert <file_url> <input_format> <output_format>convert a video or audio file to stuff like mp4 mp3 wav avi and that kind of stuff.[p]showservermembers² lists all the servers the bot is in and allows you to view all members of one of the servers.
You can now marry your loved one!
[p]marry <@yourlovedone>marry your loved one![p]divorce <divorce_id>divorce your ex.[p]forcemarry <person> <lovedone>¹ marry someone to his or her loved one.
Deletes all the links people send.
[p]adkillr toggletoggle if the bot should delete your links.[p]adkillr message <message>sets the message that shows up when someone's link gets removed.
Warn people for their actions.
[p]warn <user>warn a user for his/her actions.[p]resetwarns <user>reset the warnings for someone.
Some coding and decoding commands.
[p]to <language> <text>convert a text to a code language.[p]from <language> <text>
Allows you to upload server stats to an FTP Server.
[p]ftpset¹ set the settings for the ftpstats cog.
Only let messages through that you allow.
[p]antifiltermanages settings for antifilter.
Automatically assign a role on join to a member.
[p]autorolemanages settings for autorole.
Play that old game called Battleship with the bot.
[p]battleshipplay battleship with the bot.
Replaces the old help command to a better looking one.
[p]helphow does this work?
Process commands when the message ends with something instead of beginning with it.
[p]setsuffix <suffix>set the cmd suffix.[p]togglesuffixtoggle whether users should be able to use command suffixes.
Plant, harvest and get info on your crops.
[p]garden plant <plant>plant a plant.[p]garden harvest <plant>harvest a plant.[p]garden info <plant>gives information about your plant.[p]garden plantsshows a list of available plants and your plants.[p]garden itemsshows all the items you can sell.[p]garden sell <item>sell a harvested item.[p]garden buy <item>buy an item to let your plants grow faster.
Allow members to give themselves roles.
[p]giveme <role>gives you a role.[p]giveme listgives you a list of available roles.[p]giveme add <role>adds a role to the list of givemes.[p]giveme remove <role>removes a role from the list of givemes.[p]giveme getoff <role>removes a giveme from your roles.
Log moderation stuff.
[p]modlogsetmanages modlog settings.
Protects your server from raids.
[p]raidprotect toggletoggles raidprotect on or off.[p]raidprotect setchannel <channel>sets the channel the bot should send messages to.[p]raidprotect setmembers <members>sets the amount of members after which the bot should turn on raidprotect.[p]raidprotect membersshows the amount set with[p]raidprotect setmembers.
Get some steam info from people or games.
[p]setsteamkeysets the steam api key for the user lookup command.[p]steam useridtells you how to get someone's userid.[p]steam getuserinfo <userid>gets user's information using their Steam 64 ID.[p]steam donatekey <key>donates a Steam API key if not yet set.[p]steam applookup <appid>gets information for an app or game.[p]steam top100forevergives you the top 100 games played by people since march 2009.[p]steam top100in2weeksgives you the top 100 games played by people since 2 weeks ago.
Translate text using Google translate, for free.
[p]translate <to_lang> <text>translate text using google translate.[p]translate langlistshows a list of available languages.
Welcome new members and say goodbye to old ones!
[p]welcomesetmanages settings.
Filter out words so people can't say those.
[p]wordfiltermanages settings.
Get some user and tanks information.
[p]wot setapikey <key>sets the api key to use.[p]wot getuserinfo <user> <server>get some info from users.[p]wot gettankinfo <tank>get info on a tank, uses NA server.
The Useful cog needs the FFMpy library, install it with pip3 install ffmpy.
¹ bot owner only.
² moderators only.
<> Mandatory.
[] Optional.
[p] means prefix.
Need help? Have an idea for a new cog or a new command for any of the already existing cogs? Post an issue or contact me (PlanetTeamSpeak#4157) on