Code Monkey home page Code Monkey logo

corpbot.py's Introduction

CorpBot.py

A slightly less clumsy python bot for discord


Basic Settings

The bot's basic settings should be in a file called settings_dict.json in the same folder as the Main.py file. Some basic formatting of this file would look like so:

{
    "prefix": "your_custom_prefix_here",
    "token": "your_token_here",
    "weather": "your_weather_api_key_here",
    "currency": "your_currency_api_key_here"
}

You'll want to replace the values with your own. The prefix key can be omitted, and the bot will fallback on its default $ prefix.


Command List

A list of cogs, commands, and descriptions:

Actions, Admin, AmdArk, Ascii, Beer, Bot, BotAdmin, CAH, Calc, Channel, ChatterBot, Claptrap, Clippy, CogManager, Comic, DJRoles, Debugging, Dice, Dictionary, DisableCommand, Discogs, DrBeer, EightBall, Embed, Emoji, Encode, Example, Face, Feed, Fliptime, GameLookup, Giphy, Groot, Help, Humor, Hw, IntelArk, Invite, JazUtils, Jpeg, LangFilter, Lists, Lockdown, MadLibs, Minesweeper, Morse, Music, Mute, NvidiaArk, OfflineUser, OpenCore, PciUsb, Plist, Printer, Profile, Promote, Quote, RPS, RateLimit, Reddit, Remind, Responses, Search, SecretSanta, Server, ServerStats, Settings, SettingsDict, Setup, Spooktober, Stream, Strike, Telephone, TempRole, Time, Translate, Turret, Uptime, UrbanDict, UserRole, VoteKick, WatchURL, Weather, Welcome, Wiki, Xp, XpBlock, XpStack

Actions

Actions Cog (6 commands) - Actions.py Extension:

  $boop [member]
   └─ Boop da snoot.
  $drink [member]
   └─ Drink like a boss.
  $eat [member]
   └─ Eat like a boss.
  $highfive [member]
   └─ High five like a boss.
  $pet [member]
   └─ pet kitties.
  $spook [member]
   └─ sp00ktober by camiel.

Admin

Admin Cog (28 commands) - Admin.py Extension:

  $addadmin [role]
   └─ Adds a new role to the admin list (admin only).
  $addxprole [role] [xp]
   └─ Adds a new role to the xp promotion/demotion system (admin only).
  $broadcast [message]
   └─ Broadcasts a message to all connected servers.  Can only be done by the owner.
  $defaultchannel 
   └─ Lists the server's default channel, whether custom or not.
  $lock 
   └─ Toggles whether the bot only responds to admins (admin only).
  $onexprole [yes_no]
   └─ Gets and sets whether or not to remove all but the current xp role a user has...
  $prunexproles 
   └─ Removes any roles from the xp promotion/demotion system that are no longer on...
  $rawrules 
   └─ Display the markdown for the server's rules (bot-admin only).
  $removeadmin [role]
   └─ Removes a role from the admin list (admin only).
  $removemotd [chan]
   └─ Removes the message of the day from the selected channel.
  $removexprole [role]
   └─ Removes a role from the xp promotion/demotion system (admin only).
  $setdefaultchannel [channel]
   └─ Sets a replacement default channel for bot messages (admin only).
  $setdefaultrole [role]
   └─ Sets the default role or position for auto-role assignment.
  $sethackrole [role]
   └─ Sets the required role ID to add/remove hacks (admin only).
  $setlinkrole [role]
   └─ Sets the required role ID to add/remove links (admin only).
  $setmadlibschannel [channel]
   └─ Sets the channel for MadLibs (admin only).
  $setrules [rules]
   └─ Set the server's rules (bot-admin only).
  $setstoprole [role]
   └─ Sets the required role ID to stop the music player (admin only).
  $settagrole [role]
   └─ Sets the required role ID to add/remove tags (admin only).
  $settopic [channel] [message]
   └─ Sets the channel topic of the passed channel (bot-admin only).
  $setxp [member] [xpAmount]
   └─ Sets an absolute value for the member's xp (admin only).
  $setxpreserve [member] [xpAmount]
   └─ Set's an absolute value for the member's xp reserve (admin only).
  $setxprole [role]
   └─ Sets the required role ID to give xp, gamble, or feed the bot (admin only).
  $slowmode [channel] [seconds]
   └─ Sets the number of seconds for slow mode for the passed channel - use any num...
  $stoprole 
   └─ Lists the required role to stop the bot from playing music.
  $xplimit [limit]
   └─ Gets and sets a limit to the maximum xp a member can get.  Pass a negative va...
  $xpreservelimit [limit]
   └─ Gets and sets a limit to the maximum xp reserve a member can get.  Pass a neg...
  $xprole 
   └─ Lists the required role to give xp, gamble, or feed the bot.

AmdArk

AmdArk Cog (1 command) - AmdArk.py Extension:

  $amdark [text] (AKA: iamd, aark)
   └─ Searches AMD's site for CPU info.

Ascii

Ascii Cog (2 commands) - Ascii.py Extension:

  $ascii [text]
   └─ Beautify some text.
  $asciifonts [search_term] (AKA: font, fonts, fontlist)
   └─ Lists the available ascii fonts.

Beer

Beer Cog (4 commands) - Beer.py Extension:

  $abv [original_gravity] [final_gravity]
   └─ Calculates the alcohol by volume for the passed original and final gravity.
  $hops [batch_size] [original_gravity] [target_ibu] [alpha_acid_percent] [boil_time_minutes] [output_unit] (AKA: hop, hops4ibu, hopsforibu, hibu)
   └─ Calculates the amount of hops required to reach the target IBU.
  $ibu [batch_size] [original_gravity] [hops_amount] [alpha_acid_percent] [boil_time_minutes] (AKA: bitternes, bitter)
   └─ Calculates the IBU (International Bitterness Units) for the given values.  Th...
  $vconvert [volume] [from_type] [to_type] (AKA: vcon, vconv)
   └─ Converts between Ounces, Gallons, Liters, Milliliters, and Beer Barrels.  Fro...

Bot

Bot Cog (24 commands) - Bot.py Extension:

  $adminunlim [yes_no]
   └─ Sets whether or not to allow unlimited xp to admins (bot-admin only).
  $basadmin [yes_no]
   └─ Sets whether or not to treat bot-admins as admins with regards to xp (admin o...
  $botinfo 
   └─ Lists some general stats about the bot.
  $cloc 
   └─ Outputs the total count of lines of code in the currently installed repo.
  $getimage <image>
   └─ Tests downloading - owner only
  $hidehostname [yes_no]
   └─ Queries or turns on/off hostname hiding in the hostinfo command (owner-only).
  $hostinfo 
   └─ List info about the bot's host environment.
  $joinpm [yes_no]
   └─ Sets whether or not to pm the rules to new users when they join (bot-admin on...
  $listengame [game]
   └─ Sets the listening status of the bot (owner-only).
  $nickname [name]
   └─ Set the bot's nickname (admin-only).
  $ping 
   └─ Feeling lonely?
  $playgame [game]
   └─ Sets the playing status of the bot (owner-only).
  $pres [playing_type=0] [status_type=online] [game] [url]
   └─ Changes the bot's presence (owner-only).
  $reboot [install_or_update]
   └─ Reboots the bot (owner only).  Can optionally take install or update as argum...
  $servers 
   └─ Lists the number of servers I'm connected to!
  $setavatar [filename] (AKA: setavi, setpfp)
   └─ Sets the bot's avatar (owner only).
  $setbotparts [parts]
   └─ Set the bot's parts - can be a url, formatted text, or nothing to clear.
  $setname [name]
   └─ Sets the bot's name - may take awhile to reflect (owner only).
  $shutdown 
   └─ Shuts down the bot (owner only).
  $source 
   └─ Link the github source.
  $speedtest 
   └─ Run a network speed test (owner only).
  $status [status]
   └─ Gets or sets the bot's online status (owner-only).
  $streamgame [url] [game]
   └─ Sets the streaming status of the bot, requires the url and the game (owner-on...
  $watchgame [game]
   └─ Sets the watching status of the bot (owner-only).

BotAdmin

BotAdmin Cog (17 commands) - BotAdmin.py Extension:

  $adddbl [member] (AKA: dbladd)
   └─ Adds the passed member to the default role blacklist - preventing the bot fro...
  $ban [members] [reason] (AKA: yote, bean)
   └─ Bans the passed members for the specified reason.
  $banned [user_id]
   └─ Queries the guild's ban list for the passed user id and responds with whether...
  $botowneroveradmin [yes_no]
   └─ Gets or sets whether the bot owner(s) can kick/ban/klean admins and under (se...
  $cleardbl  (AKA: dblclear)
   └─ Clears the default role blacklist (bot-admin only).
  $ignore [member_or_role]
   └─ Adds a member or role to the bot's "ignore" list (bot-admin only).
  $ignored 
   └─ Lists the users and roles currently being ignored.
  $kick [members] [reason] (AKA: yeet)
   └─ Kicks the passed members for the specified reason.
  $klean [members] [reason] (AKA: scam)
   └─ Bans the passed members for the specified reason, then unbans them in order t...
  $listdbl  (AKA: dbllist)
   └─ Lists the members in the default role blacklist.
  $listen [member_or_role]
   └─ Removes a member or role from the bot's "ignore" list (bot-admin only).
  $listenall 
   └─ Clears the bot's ignore list (bot-admin only).
  $rembanmessages [number_of_days]
   └─ Gets or sets the default number of days worth of messages to remove when bann...
  $remdbl [member] (AKA: dblrem)
   └─ Removes the passed user from the default role blacklist (bot-admin only).
  $removeinvitelinks [yes_no]
   └─ Enables/Disables auto-deleting discord invite links in chat (bot-admin only).
  $setuserparts [member] [parts]
   └─ Set another user's parts list (owner only).
  $unban [members] [reason]
   └─ Unbans the passed members for the specified reason.

CAH

CAH Cog (17 commands) - CAH.py Extension:

  $addbot 
   └─ Adds a bot to the game.  Can only be done by the player who created the game.
  $addbots [number]
   └─ Adds bots to the game.  Can only be done by the player who created the game.
  $cahgames 
   └─ Displays up to 10 CAH games in progress.
  $flushhand 
   └─ Flushes the cards in your hand - can only be done once per game.
  $game [message]
   └─ Displays the game's current status.
  $hand 
   └─ Shows your hand.
  $idlekick [setting]
   └─ Sets whether or not to kick members if idle for 5 minutes or more.  Can only ...
  $joincah [id]
   └─ Join a Cards Against Humanity game.  If no id or user is passed, joins a rand...
  $laid 
   └─ Shows who laid their cards and who hasn't.
  $lay [card]
   └─ Lays a card or cards from your hand.  If multiple cards are needed, separate ...
  $leavecah 
   └─ Leaves the current game you're in.
  $newcah 
   └─ Starts a new Cards Against Humanity game.
  $pick [card]
   └─ As the judge - pick the winning card(s).
  $removebot [id]
   └─ Removes a bot from the game.  Can only be done by the player who created the ...
  $removeplayer [name]
   └─ Removes a player from the game.  Can only be done by the player who created t...
  $say [message]
   └─ Broadcasts a message to the other players in your game.
  $score 
   └─ Display the score of the current game.

Calc

Calc Cog (1 command) - Calc.py Extension:

  $calc [formula] (AKA: calculate, math)
   └─ Do some math.

Channel

Channel Cog (4 commands) - Channel.py Extension:

  $islocked 
   └─ Says whether the bot only responds to admins.
  $listadmin 
   └─ Lists admin roles and id's.
  $log [messages=25] [chan]
   └─ Logs the passed number of messages from the given channel - 25 by default (ad...
  $rules 
   └─ Display the server's rules.

ChatterBot

ChatterBot Cog (2 commands) - ChatterBot.py Extension:

  $chat [message]
   └─ Chats with the bot.
  $setchatchannel [channel]
   └─ Sets the channel for bot chatter.

Claptrap

Claptrap Cog (1 command) - Claptrap.py Extension:

  $claptrap 
   └─ Can I shoot something now? Or climb some stairs? SOMETHING exciting?

Clippy

Clippy Cog (1 command) - Clippy.py Extension:

  $clippy [text]
   └─ I *know* you wanted some help with something - what was it?

CogManager

CogManager Cog (4 commands) - CogManager.py Extension:

  $extension [extension] (AKA: extensions, ext)
   └─ Outputs the cogs and command count for the passed extension - or all extensio...
  $imports [extension]
   └─ Outputs the extensions imported by the passed extension.
  $reload [extension]
   └─ Reloads the passed extension - or all if none passed.
  $update [reset]
   └─ Updates from git, pass "reset" or "-reset" to this command to first run "git ...

Comic

Comic Cog (12 commands) - Comic.py Extension:

  $calvin [date]
   └─ Displays the Calvin & Hobbes comic for the passed date (MM-DD-YYYY) from 11-1...
  $farside [date]
   └─ Displays the Far Side comic for the passed date (MM-DD-YYYY) from 2 days ago ...
  $garfield [date]
   └─ Displays the Garfield comic for the passed date (MM-DD-YYYY) from 06-19-1978 ...
  $gmg [date]
   └─ Displays the Garfield Minus Garfield comic for the passed date (MM-DD-YYYY) f...
  $peanuts [date]
   └─ Displays the Peanuts comic for the passed date (MM-DD-YYYY) from 10-02-1950 t...
  $randcalvin 
   └─ Displays a random Calvin & Hobbes comic from 11-18-1985 to today.
  $randfarside 
   └─ Displays a random Far Side comic from 2 days ago to today.
  $randgarfield 
   └─ Displays a random Garfield comic from 06-19-1978 to today.
  $randgmg 
   └─ Displays a random Garfield Minus Garfield comic from 02-13-2008 to today.
  $randpeanuts 
   └─ Displays a random Peanuts comic from 10-02-1950 to today.
  $randxkcd 
   └─ Displays a random XKCD comic from 01-01-2006 to today.
  $xkcd [date]
   └─ Displays the XKCD comic for the passed date (MM-DD-YYYY) from 01-01-2006 to t...

DJRoles

DJRoles Cog (6 commands) - DJRoles.py Extension:

  $adddj [role] (AKA: newdj)
   └─ Adds a new role to the dj list (bot-admin only).
  $addmc [role] (AKA: newmc)
   └─ Adds a new role to the mc list (bot-admin only).
  $listdj 
   └─ Lists dj roles and id's.
  $listmc 
   └─ Lists mc roles and id's.
  $removedj [role] (AKA: remdj, deletedj, deldj)
   └─ Removes a role from the dj list (bot-admin only).
  $removemc [role] (AKA: remmc, deletemc, delmc)
   └─ Removes a role from the mc list (bot-admin only).

Debugging

Debugging Cog (9 commands) - Debugging.py Extension:

  $clean [messages] [chan]
   └─ Cleans the passed number of messages from the given channel (admin only).
  $cleardebug 
   └─ Deletes the debug.txt file (owner only).
  $heartbeat 
   └─ Write to the console and attempt to send a message (owner only).
  $logdisable [options]
   └─ Disables the passed, comma-delimited log vars.  If run with no arguments, dis...
  $logenable [options]
   └─ Enables the passed, comma-delimited log vars (bot-admin only).
  $logging 
   └─ Outputs whether or not we're logging is enabled, the log channel, and any set...
  $logpreset [preset]
   └─ Can select one of 4 available presets - off, quiet, normal, verbose (bot-admi...
  $setdebug [debug]
   └─ Turns on/off debugging (owner only - always off by default).
  $setlogchannel [channel]
   └─ Sets the channel for Logging (bot-admin only).

Dice

Dice Cog (1 command) - Dice.py Extension:

  $roll [dice]
   └─ Performs up to 10 space-delimited dice rolls in NdN±Na|d format.

Dictionary

Dictionary Cog (1 command) - Dictionary.py Extension:

  $dictionary [word] (AKA: dict)
   └─ Queries dictionaryapi.dev for the definition of the word passed.

DisableCommand

DisableCommand Cog (9 commands) - DisableCommand.py Extension:

  $adminallow [yes_no]
   └─ Sets whether admins can access disabled commands (admin-only).
  $badminallow [yes_no]
   └─ Sets whether bot-admins can access disabled commands (admin-only).
  $disable [command_or_cog_name]
   └─ Disables the passed command or all commands in the passed cog (admin-only).  ...
  $disableall 
   └─ Disables all enabled commands outside this module (admin-only).
  $disabledreact [yes_no]
   └─ Sets whether the bot reacts to disabled commands when attempted (admin-only).
  $enable [command_or_cog_name]
   └─ Enables the passed command or all commands in the passed cog (admin-only).  C...
  $enableall 
   └─ Enables all disabled commands (admin-only).
  $isdisabled [command_or_cog_name]
   └─ Outputs whether the passed command - or all commands in a passed cog are disa...
  $listdisabled 
   └─ Lists all disabled commands (admin-only).

Discogs

Discogs Cog (1 command) - Discogs.py Extension:

  $discogs [search]
   └─ Perform a general discogs.com search. Could return albums, artits, etc.

DrBeer

DrBeer Cog (1 command) - DrBeer.py Extension:

  $drbeer 
   └─ Put yourself in your place.

EightBall

EightBall Cog (1 command) - EightBall.py Extension:

  $eightball [question] (AKA: 8ball)
   └─ Get some answers.

Embed

Embed Cog (3 commands) - Embed.py Extension:

  $embed [embed_json]
   └─ Builds an embed using json formatting.
  $getembed [message_url]
   └─ Gets any embeds for the passed message url and uploads their data as json files.
  $post [channel_id] [embed_json]
   └─ Builds an embed using json formatting and sends it to the specified channel (...

Emoji

Emoji Cog (2 commands) - Emoji.py Extension:

  $addemoji [emoji] [name] (AKA: addemote)
   └─ Adds the passed emoji, url, or attachment as a custom emoji with the passed n...
  $emoji [emoji] (AKA: emote)
   └─ Outputs the passed emoji... but bigger!

Encode

Encode Cog (10 commands) - Encode.py Extension:

  $binint [input_binary]
   └─ Converts the input binary to its integer representation.
  $binstr [input_binary]
   └─ Converts the input binary to its string representation.
  $color [value]
   └─ View info on a rgb, hex or cmyk color and their
  $dechex [input_dec]
   └─ Converts an int to hex.
  $encode [from_type] [to_type] [value] (AKA: enc)
   └─ Data converter that supports hex, decimal, binary, base64, and ascii.
  $hexdec [input_hex]
   └─ Converts hex to decimal.
  $hexswap [input_hex]
   └─ Byte swaps the passed hex value.
  $intbin [input_int]
   └─ Converts the input integer to its binary representation.
  $randomcolor 
   └─ Selects a random color.
  $strbin [input_string]
   └─ Converts the input string to its binary representation.

Example

Example Cog (3 commands) - Example.py Extension:

  $add <left> <right>
   └─ Adds two numbers together.
  $choose [choices...]
   └─ Chooses between multiple choices.
  $joined [member]
   └─ Says when a member joined.

Face

Face Cog (4 commands) - Face.py Extension:

  $lastlenny 
   └─ Who Lenny'ed last?
  $lastshrug 
   └─ Who shrugged last?
  $lenny [message]
   └─ Give me some Lenny.
  $shrug [message]
   └─ Shrug it off.

Feed

Feed Cog (8 commands) - Feed.py Extension:

  $feed [food]
   └─ Feed the bot some xp!
  $hunger 
   └─ How hungry is the bot?
  $ignoredeath [yes_no]
   └─ Sets whether the bot ignores its own death and continues to respond post-mort...
  $iskill 
   └─ Check the ded of the bot.
  $kill 
   └─ Kill the bot... you heartless soul.
  $killrole 
   └─ Lists the required role to kill/resurrect the bot.
  $resurrect 
   └─ Restore life to the bot.  What magic is this?
  $setkillrole [role]
   └─ Sets the required role to kill/resurrect the bot (admin only).

Fliptime

Fliptime Cog (1 command) - Fliptime.py Extension:

  $tableflip [yes_no]
   └─ Turns on/off table flip muting (bot-admin only; always off by default).

GameLookup

GameLookup Cog (1 command) - GameLookup.py Extension:

  $gamelookup [game_name] (AKA: glu, glup, gamel, gamelu, glookup)
   └─ Leverage IGDB's API to search for game information.

Giphy

Giphy Cog (4 commands) - Giphy.py Extension:

  $addgif [role]
   └─ Adds a new role to the gif list (admin only).
  $gif [gif]
   └─ Search for some giphy!
  $listgif 
   └─ Lists gif roles and id's.
  $removegif [role]
   └─ Removes a role from the gif list (admin only).

Groot

Groot Cog (1 command) - Groot.py Extension:

  $groot 
   └─ Who... who are you?

Help

Help Cog (3 commands) - Help.py Extension:

  $dumphelp [tab_indent_count]
   └─ Dumps a timestamped, formatted list of commands and descriptions into the sam...
  $dumpmarkdown 
   └─ Dumps a timestamped, markdown-formatted list of commands and descriptions int...
  $help [command]
   └─ Lists the bot's commands and cogs.

Humor

Humor Cog (11 commands) - Humor.py Extension:

  $fart 
   └─ PrincessZoey :P
  $french 
   └─ Speaking French... probably...
  $fry [url]
   └─ Fry up some memes.
  $german 
   └─ Speaking German... probably...
  $holy [subject]
   └─ Time to backup the Batman!
  $meme [template_id] [box_text...]
   └─ Generate Memes!  You can get a list of meme templates with the memetemps comm...
  $memetemps 
   └─ Get Meme Templates
  $poke [url]
   └─ Pokes the passed url/user/uploaded image.
  $slap [user]
   └─ It's easier than talking... probably?
  $stardew [user]
   └─ Test your luck with another user.
  $zalgo [message]
   └─ Ỉ s̰hͨo̹u̳lͪd͆ r͈͍e͓̬a͓͜lͨ̈l̘̇y̡͟ h͚͆a̵͢v͐͑eͦ̓ i͋̍̕n̵̰ͤs͖̟̟t͔ͤ̉ǎ͓͐ḻ̪ͨl̦͒̂e...

Hw

Hw Cog (19 commands) - Hw.py Extension:

  $cancelhw  (AKA: hwcancel)
   └─ Cancels a current hardware session.
  $delbothw [build] (AKA: hwbotdel, rembothw, hwbotrem)
   └─ Removes a build from the bot's build list (owner only).
  $delhw [build] (AKA: hwdel, remhw, hwrem, hwdelete, deletehw, hwremove, removehw)
   └─ Removes a build from your build list.
  $editbothw [build]
   └─ Edits a build from the bot's build list (owner only).
  $edithw [build] (AKA: hwedit)
   └─ Edits a build from your build list.
  $gethw [user] [search] (AKA: hwget, searchhw, hwsearch)
   └─ Searches the user's hardware for a specific search term.
  $hw [user] [build]
   └─ Lists the hardware for either the user's default build - or the passed build.
  $hwchannel  (AKA: gethwchannel, listhwchannel)
   └─ Lists the current channel for hardware - if any.
  $lhw [user] (AKA: hwl)
   └─ Lists only the titles of the builds for the specified user - or yourself if n...
  $listhw [user] (AKA: hwlist)
   └─ Lists the builds for the specified user - or yourself if no user passed.
  $mainbothw [build] (AKA: hwbotmain)
   └─ Sets a new main build from the bot's build list (owner only).
  $mainhw [build] (AKA: hwmain)
   └─ Sets a new main build from your build list.
  $newbothw  (AKA: addbothw)
   └─ Initiates a new-hardware conversation for the bot's hardware.  The hardware a...
  $newhw  (AKA: hwnew, hwadd, addhw)
   └─ Initiate a new-hardware conversation with the bot.  The hardware added will a...
  $pcpp [url] [style] [escape]
   └─ Convert a pcpartpicker.com link into markdown parts. Available styles: normal...
  $rawhw [user] [build] (AKA: hwraw)
   └─ Lists the raw markdown for either the user's default build - or the passed bu...
  $renbothw [build] (AKA: hwbotren)
   └─ Renames a build from the bot's build list (owner only).
  $renhw [build] (AKA: hwren, renamehw, hwrename)
   └─ Renames a build from your build list.
  $sethwchannel [channel]
   └─ Sets the channel for hardware (admin only).

IntelArk

IntelArk Cog (1 command) - IntelArk.py Extension:

  $iark [text] (AKA: intelark)
   └─ Search for Intel CPU info.

Invite

Invite Cog (9 commands) - Invite.py Extension:

  $approvejoin [server_id]
   └─ Temporarily allows the bot to join the passed server id or join url (owner-on...
  $block [server]
   └─ Blocks the bot from joining a server - takes either a name or an id (owner-on...
  $blocked 
   └─ Lists all blocked servers and owners (owner-only).
  $canjoin [yes_no]
   └─ Sets whether the bot is allowed to join new servers (owner-only and enabled b...
  $invite [invite_url]
   └─ Outputs a url you can use to invite me to your server.
  $requestjoin [invite_url]
   └─ Forwards the invite url to the bot's owners for review.
  $revokejoin [server_id]
   └─ Revokes a previously approved temporary join (owner-only).
  $unblock [server]
   └─ Unblocks a server or owner (owner-only).
  $unblockall 
   └─ Unblocks all blocked servers and owners (owner-only).

JazUtils

JazUtils Cog (7 commands) - JazUtils.py Extension:

  $emptyroles 
   └─ Shows a list of roles that have zero members.
  $fullsnowflake [sid]
   └─ show all available data about a snowflake ID
  $rolecall <rolename>
   └─ Counts the number of members with a specific role.
  $rolecount 
   └─ Simply counts the number of roles on the server. (excluding @everyone)
  $roles [sort_order=name]
   └─ Shows roles and their member counts. Takes one argument,
  $snowflake [sid]
   └─ show the date a snowflake ID was created
  $whohas <rolename>
   └─ Lists the people who have the specified role alongside their online status.

Jpeg

Jpeg Cog (1 command) - Jpeg.py Extension:

  $jpeg [url]
   └─ MOAR JPEG!  Accepts a url - or picks the first attachment.

LangFilter

LangFilter Cog (5 commands) - LangFilter.py Extension:

  $addfilter [words]
   └─ Adds comma delimited words to the word list (bot-admin only).
  $clearfilter 
   └─ Empties the list of words that will be filtered (bot-admin only).
  $dumpfilter 
   └─ Saves the filtered word list to a text file and uploads it to the requestor (...
  $listfilter 
   └─ Prints out the list of words that will be filtered (bot-admin only).
  $remfilter [words]
   └─ Removes comma delimited words from the word list (bot-admin only).

Lists

Lists Cog (38 commands) - Lists.py Extension:

  $addhack [name] [hack]
   └─ Add a hack to the hack list.
  $addlink [name] [link]
   └─ Add a link to the link list.
  $addtag [name] [tag]
   └─ Add a tag to the tag list.
  $clearhacks  (AKA: clrhacks)
   └─ Clears all entries from the hack list.
  $clearlinks  (AKA: clrtags)
   └─ Clears all entries from the tag list.
  $hack [name]
   └─ Retrieve a hack from the hack list.
  $hackinfo [name]
   └─ Displays info about a hack from the hack list.
  $hackrole 
   └─ Lists the required role to add hacks.
  $hacks 
   └─ List all hack in the hack list.
  $lastonline [member]
   └─ Lists the last time a user was online if known.
  $link [name]
   └─ Retrieve a link from the link list.
  $linkinfo [name]
   └─ Displays info about a link from the link list.
  $linkrole 
   └─ Lists the required role to add links.
  $links 
   └─ List all links in the link list.
  $loadhacks [url] (AKA: addhacks)
   └─ Loads the passed json attachment or URL into the hack list.
  $loadlinks [url] (AKA: addlinks)
   └─ Loads the passed json attachment or URL into the link list.
  $loadtags [url] (AKA: addtags)
   └─ Loads the passed json attachment or URL into the tag list.
  $online 
   └─ Lists the number of users online.
  $parts [member]
   └─ Retrieve a member's parts list. DEPRECATED - Use hw instead.
  $partstemp 
   └─ Gives a copy & paste style template for setting a parts list.
  $rawhack [name]
   └─ Retrieve a hack's raw markdown from the hack list.
  $rawhacks 
   └─ List raw markdown of all hacks in the hack list.
  $rawlink [name]
   └─ Retrieve a link's raw markdown from the link list.
  $rawlinks 
   └─ List raw markdown of all links in the link list.
  $rawparts [member]
   └─ Retrieve the raw markdown for a member's parts list. DEPRECATED - Use rawhw i...
  $rawtag [name]
   └─ Retrieve a tag's raw markdown from the tag list.
  $rawtags 
   └─ List raw markdown of all tags in the tag list.
  $removehack [name] (AKA: remhack, deletehack, delhack)
   └─ Remove a hack from the hack list.
  $removelink [name] (AKA: remlink, deletelink, dellink)
   └─ Remove a link from the link list.
  $removetag [name] (AKA: remtag, deletetag, deltag)
   └─ Remove a tag from the tag list.
  $savehacks 
   └─ Saves the hack list to a json file and uploads.
  $savelinks 
   └─ Saves the link list to a json file and uploads.
  $savetags 
   └─ Saves the tag list to a json file and uploads.
  $setparts [parts]
   └─ Set your own parts - can be a url, formatted text, or nothing to clear. DEPRE...
  $tag [name]
   └─ Retrieve a tag from the tag list.
  $taginfo [name]
   └─ Displays info about a tag from the tag list.
  $tagrole 
   └─ Lists the required role to add tags.
  $tags 
   └─ List all tag in the tag list.

Lockdown

Lockdown Cog (14 commands) - Lockdown.py Extension:

  $addlock [channel_list]
   └─ Adds the passed space-delimited list of channels and categories to the lockdo...
  $addlockall 
   └─ Adds all channels and categories to the lockdown list (bot-admin only).
  $addnamefilter [action] [regex]
   └─ Adds a new action (kick|ban|mute) and regex name filter (bot-admin only).
  $antiraid [on_off] [join_number] [join_seconds] [kick_ban_mute] [cooldown_minutes]
   └─ Sets up the anti-raid module (bot-admin only).
  $antiraidping [user_or_role] [channel]
   └─ Sets up what user or role to ping and in what channel when anti-raid is activ...
  $clearnamefilters 
   └─ Removes all name filters (bot-admin only).
  $listlock 
   └─ Lists the channels and categories configured for lockdown (bot-admin only).
  $listlockall 
   └─ Lists all channels and categories and their lockdown/sync status (bot-admin o...
  $lockdown [target_channel]
   └─ Iterate through the channels in the lockdown list and revoke the send_message...
  $namefilters 
   └─ Lists the name filters and their actions (bot-admin only).
  $remlock [channel_list]
   └─ Removes the passed space-delimited list of channels and categories from the l...
  $remlockall 
   └─ Removes all channels and categories from the lockdown list (bot-admin only).
  $remnamefilter [name_filter_number]
   └─ Removes the passed name filter (bot-admin only).
  $unlockdown [target_channel]
   └─ Iterate through the channels in the lockdown list and clear the send_message,...

MadLibs

MadLibs Cog (4 commands) - MadLibs.py Extension:

  $listml  (AKA: mlist, madlibslist, listmadlibs)
   └─ List the available MadLibs
  $madlibs [madlib]
   └─ Let's play MadLibs!
  $ml [word]
   └─ Used to choose your words when in the middle of a madlibs.
  $mleave 
   └─ Used to leave a current MadLibs game.

Minesweeper

Minesweeper Cog (1 command) - Minesweeper.py Extension:

  $minesweeper [grid_size=5] (AKA: ms, minesweep, msweep, msweeper)
   └─ Generate and post a new minesweeper game - grid size can range from 3x3 to 9x9

Morse

Morse Cog (3 commands) - Morse.py Extension:

  $morse [content]
   └─ Converts ascii to morse code.  Accepts a-z and 0-9.  Each letter is comprised...
  $morsetable [num_per_row]
   └─ Prints out the morse code lookup table.
  $unmorse [content]
   └─ Converts morse code to ascii.  Each letter is comprised of "-" or "." and sep...

Music

Music Cog (46 commands) - Music.py Extension:

  $allowplaynext [yes_no]
   └─ Gets or sets whether playnext, shufflenext, radionext, loadplnext, and shuffl...
  $autodeleteafter [seconds]
   └─ Lists or sets the current delay before auto-deleting music related messages (...
  $disableplay [yes_no]
   └─ Enables/Disables the music commands.  Helpful in case Youtube is rate limitin...
  $eqpreset [preset] (AKA: eqp)
   └─ Sets the current eq to one of the following presets:  Boost, Flat, Metal
  $geteq  (AKA: eq)
   └─ Prints the current equalizer settings.
  $join [channel] (AKA: summon)
   └─ Joins a passed voice channel, or the author's if none passed.
  $lasteq [yes_no]
   └─ Gets or sets whether the current EQ settings are preserved between music sess...
  $leave  (AKA: disconnect, okbye)
   └─ Stops and disconnects the bot from voice.
  $leavewhenalone [yes_no]
   └─ Lists or sets whether the bot leaves the voice channel when the last non-bot ...
  $loadpl [url]
   └─ Loads the passed playlist json data.  Accepts a url - or picks the first atta...
  $loadplnext [url] (AKA: loadpln)
   └─ Loads the passed playlist json data.  Accepts a url - or picks the first atta...
  $mvsong [song_index] [target_index] (AKA: movesong, mvtrack, movetrack)
   └─ Moves the song at song_index in the queue to the target_index (bot-admin only).
  $pause 
   └─ Pauses the currently playing song.
  $paused [moons]
   └─ Lists whether or not the player is paused.  Synonym of the playing command.
  $play [url] (AKA: p)
   └─ Plays from a url (almost anything Lavalink supports) or resumes a currently p...
  $playing [moons]
   └─ Lists the currently playing song if any.
  $playingin 
   └─ Shows the number of servers the bot is currently playing music in.
  $playlist  (AKA: queue, q)
   └─ Lists the queued songs in the playlist.
  $playnext [url] (AKA: pn, pnext, playn)
   └─ Plays from a url (almost anything Lavalink supports) or resumes a currently p...
  $radio [url] (AKA: suggest, r, recommend)
   └─ Queues up recommendations for the passed search term, YouTube URL, or Spotify...
  $radiocount [count] (AKA: suggestcount, recommendcount, rcount)
   └─ Gets or sets the default number of recommended songs returned from 2 to 25 (b...
  $radionext [url] (AKA: suggestnext, rn, recommendnext)
   └─ Queues up recommendations for the passed search term, YouTube URL, or Spotify...
  $reconnect  (AKA: recon, rec)
   └─ Attempts to have the bot save the current playlist to memory, leave the voice...
  $repeat [yes_no]
   └─ Checks or sets whether to repeat the current playlist.
  $reseteq  (AKA: req)
   └─ Resets the current eq to the flat preset.
  $resume 
   └─ Resumes the song if paused.
  $savepl [options]
   └─ Saves the current playlist to a json file that can be loaded later.
  $searchlist [yes_no]
   └─ Gets or sets whether or not the server will show a list of options when searc...
  $searchtype [search_type]
   └─ Gets or sets the default search type used.  Can be ytsearch, ytmsearch, or sc...
  $seek [position]
   └─ Seeks to the passed position in the song if possible.  Position should be in ...
  $setband [band_number] [value] (AKA: sb)
   └─ Sets the value of the passed eq band (1-15) to the passed value from -5 (sile...
  $seteq [bands] (AKA: seq)
   └─ Sets the equalizer to the passed 15 space-delimited values from -5 (silent) t...
  $setfreq [freq_family] [value] (AKA: freq)
   └─ Sets the frequency family to the passed value.  Valid families are bass, mid,...
  $shuffle [url]
   └─ Shuffles the current queue. If you pass a playlist url or search term, it fir...
  $shufflenext [url] (AKA: shufflen)
   └─ Shuffles the current queue. If you pass a playlist url or search term, it fir...
  $shufflepl [url]
   └─ Loads and shuffles the passed playlist json data.  Accepts a url - or picks t...
  $shuffleplnext [url] (AKA: shufflepln)
   └─ Loads and shuffles the passed playlist json data.  Accepts a url - or picks t...
  $skip [remove]
   └─ Adds your vote to skip the current song.  50% or more of the non-bot users ne...
  $skips [user] (AKA: skipped)
   └─ Lists the number of skips for the currently playing song.
  $stop 
   └─ Stops and empties the current playlist.
  $stopall 
   └─ Stops and disconnects the bot from all voice channels in all servers (owner-o...
  $swsongs [song1_index] [song2_index] (AKA: swapsongs, swaptracks, swtracks)
   └─ Swaps the songs at song1_index and song2_index in the queue.  You must have r...
  $unplay [song_number] (AKA: unp)
   └─ Removes the passed song number from the queue.  You must be the requester, or...
  $unqueue [unqueue_from] (AKA: unq)
   └─ Removes all songs you've added from the queue (does not include the currently...
  $unskip 
   └─ Removes your vote to skip the current song.
  $volume [volume] (AKA: v, vol)
   └─ Changes the player's volume (0-150%).

Mute

Mute Cog (10 commands) - Mute.py Extension:

  $createmuterole [role_name]
   └─ Sets the target role to apply when muting (bot-admin only).
  $desyncmuterole 
   └─ Removes send_messages, add_reactions, and speak overrides from the mute role ...
  $ismuted [member] (AKA: muted, listmuted)
   └─ Says whether a member is muted in chat - pass no arguments to get a list of a...
  $mute [members] [cooldown] [reason]
   └─ Prevents the passed members from sending messages in chat or speaking in voic...
  $muteautodelete [yes_no]
   └─ Enables/Disables auto-delete of any messages that slip by from muted users (b...
  $muterole 
   └─ Lists the target role to apply when muting (bot-admin only).
  $setmuterole [role]
   └─ Sets the target role to apply when muting.  Passing nothing will disable the ...
  $syncmuterole 
   └─ Ensures that the mute role has the send_messages, add_reactions, and speak ov...
  $timeout [members] [cooldown] [reason] (AKA: to)
   └─ Alternative to $mute that uses discord's native timeout api (bot-admin only).
  $unmute [members] [reason]
   └─ Allows the passed members to send messages in chat or speak in voice (bot-adm...

NvidiaArk

NvidiaArk Cog (1 command) - NvidiaArk.py Extension:

  $nvidiaark [text] (AKA: nark, nvark)
   └─ Searches TechPowerUP's site for GPU info.

OfflineUser

OfflineUser Cog (1 command) - OfflineUser.py Extension:

  $remindoffline [yes_no]
   └─ Sets whether to inform users that pinged members are offline or not.

OpenCore

OpenCore Cog (6 commands) - OpenCore.py Extension:

  $codec [search_term] (AKA: alc)
   └─ Searches the AppleALCCodecs.plist file in memory for the passed search term.
  $getcodecs  (AKA: updatecodecs)
   └─ Forces an update of the in-memory AppleALCCodecs.plist file (owner only).
  $gettex  (AKA: updatetex)
   └─ Forces an update of the in-memory Configuration.tex file (owner only).
  $listcodecs [search_term] (AKA: codecs)
   └─ Lists the codecs in the AppleALCCodecs.plist - can optionally take a codec na...
  $octex [search_path] (AKA: occonfig, configtex, ocsearch, configsearch, seachtex, tex, occ)
   └─ Searches the Configuration.tex file in memory for the passed path.  Must incl...
  $slide [input_hex]
   └─ Calculates your slide boot-arg based on an input address (in hex).

PciUsb

PciUsb Cog (2 commands) - PciUsb.py Extension:

  $pci [ven_dev]
   └─ Searches pci-ids.ucw.cz for the passed PCI ven:dev id.
  $usb [ven_dev]
   └─ Searches usb-ids.gowdy.us for the passed USB ven:dev id.

Plist

Plist Cog (2 commands) - Plist.py Extension:

  $nvweb [os_build]
   └─ Prints the download url for the passed OS build number (if it exists).  If no...
  $plist [url]
   └─ Validates plist file structure.  Accepts a url - or picks the first attachment.

Printer

Printer Cog (3 commands) - Printer.py Extension:

  $avatar [member] (AKA: printavi, avi, pfp)
   └─ Returns a the passed member's global avatar - use the guildavatar command for...
  $guildavatar [member] (AKA: printguildavi, printgavi, gavi, gpfp)
   └─ Returns a the passed member's guild avatar if available - use the avatar comm...
  $print [url]
   └─ DOT MATRIX.  Accepts a url - or picks the first attachment.

Profile

Profile Cog (7 commands) - Profile.py Extension:

  $addprofile [name] [link]
   └─ Add a profile to your profile list.
  $profile [member] [name]
   └─ Retrieve a profile from the passed user's profile list.
  $profileinfo [member] [name]
   └─ Displays info about a profile from the passed user's profile list.
  $profiles [member]
   └─ List all profiles in the passed user's profile list.
  $rawprofile [member] [name]
   └─ Retrieve a profile's raw markdown from the passed user's profile list.
  $rawprofiles [member]
   └─ List all profiles' raw markdown in the passed user's profile list.
  $removeprofile [name]
   └─ Remove a profile from your profile list.

Promote

Promote Cog (4 commands) - Promote.py Extension:

  $demote [member]
   └─ Auto-removes the required xp to demote the passed user to the previous role (...
  $demoteto [member] [role]
   └─ Auto-removes the required xp to demote the passed user to the passed role (ad...
  $promote [member]
   └─ Auto-adds the required xp to promote the passed user to the next role (admin ...
  $promoteto [member] [role]
   └─ Auto-adds the required xp to promote the passed user to the passed role (admi...

Quote

Quote Cog (11 commands) - Quote.py Extension:

  $clearquotereaction  (AKA: clearqr, clearquoter, cqr)
   └─ Clears the trigger reaction for quoting messages (bot-admin only).
  $getquotechannel  (AKA: quotechannel, gqc, qc, getquotec)
   └─ Prints the current quote channel.
  $getquotereaction  (AKA: gqr, getquoter, getqr)
   └─ Displays the quote reaction if there is one.
  $isquoted [message_id]
   └─ Checks if the passed message id is present in the QuotedMessages list (bot-ad...
  $quoteadminonly [yes_no] (AKA: qao, quoteao, quoteadmino)
   └─ Sets whether only admins/bot-admins can quote or not (bot-admin only).
  $quoteinfo  (AKA: quote, qinfo, qi)
   └─ Lists information about the current quote setup.
  $quotevote [quote_votes] (AKA: quotev, qv)
   └─ Gets or sets the number of votes/reactions needed for non admin/bot-admin use...
  $setquotechannel [channel] (AKA: sqc, setquotec, setqc)
   └─ Sets the channel for quoted messages or disables it if no channel sent (bot-a...
  $setquotereaction  (AKA: sqr, setquoter, setqr)
   └─ Sets the trigger reaction for quoting messages (bot-admin only).
  $unquote [message_id]
   └─ Removes the passed message id from the QuotedMessages list if found (bot-admi...
  $unquoteall 
   └─ Removes all message ids from the QuotedMessages list (bot-admin only).

RPS

RPS Cog (1 command) - RPS.py Extension:

  $rps [choice] (AKA: prs, rockpaperscissors, paperscissorsrock)
   └─ Play rock, paper, scissors.

RateLimit

RateLimit Cog (1 command) - RateLimit.py Extension:

  $ccooldown [delay]
   └─ Sets the cooldown in seconds between each command (owner only).

Reddit

Reddit Cog (32 commands) - Reddit.py Extension:

  $abandoned 
   └─ Get something abandoned to look at.
  $answer 
   └─ Spout out some interstellar answering... ?
  $aww 
   └─ Whenever you're down - uppify.
  $battlestation 
   └─ Let's look at some pretty stuff.
  $beeple 
   └─ A new image every day... for years.
  $brainfart 
   └─ Spout out some uh... intellectual brilliance...
  $cablefail 
   └─ Might as well be a noose...
  $carmod 
   └─ Marvels of modern engineering.
  $dankmeme 
   └─ Only the dankest.
  $dirtyjoke 
   └─ Let's see if reddit can be dir-... oh... uh.. funny... (bot-admin only)
  $dragon 
   └─ From the past - when great winged beasts soared the skies.
  $earthporn 
   └─ Earth is good.
  $joke 
   └─ Let's see if reddit can be funny...
  $lpt 
   └─ Become a pro - AT LIFE.
  $macsetup 
   └─ Feast your eyes upon these setups.
  $meirl 
   └─ Me in real life.
  $nocontext 
   └─ Spout out some intersexual brilliance.
  $nosleep 
   └─ I hope you're not tired...
  $pun 
   └─ I don't know, don't ask...
  $question 
   └─ Spout out some interstellar questioning... ?
  $randomcat 
   └─ Meow.
  $randomdog 
   └─ Bark if you know whassup.
  $redditimage [subreddit]
   └─ Try to grab an image from an image-based subreddit.
  $ruser [user_name]
   └─ Gets some info on the passed username - attempts to use your username if none...
  $shittybattlestation 
   └─ Let's look at some shitty stuff.
  $shittylpt 
   └─ Your advise is bad, and you should feel bad.
  $software 
   └─ I uh... I wrote it myself.
  $starterpack 
   └─ Starterpacks.
  $techsupport 
   └─ Tech support irl.
  $thinkdeep 
   └─ Spout out some intellectual brilliance.
  $wallpaper 
   └─ Get something pretty to look at.
  $withcontext 
   └─ Spout out some contextual brilliance.

Remind

Remind Cog (3 commands) - Remind.py Extension:

  $clearmind [index]
   └─ Clear the reminder index passed - or all if none passed.
  $reminders [member]
   └─ List pending reminders - pass a member to see their reminders in the current ...
  $remindme [message] [endtime]
   └─ Set a reminder.  If the message contains spaces, it must be wrapped in quotes.

Responses

Responses Cog (12 commands) - Responses.py Extension:

  $addresponse [regex_trigger] [response]
   └─ Adds a new response for the regex trigger - or updates the response if the tr...
  $chkresponse [check_string] (AKA: checkresponse)
   └─ Reports a breakdown of the first match (if any) in the responses for the pass...
  $clearresponses  (AKA: clrresponses)
   └─ Removes all response triggers (bot-admin only).
  $editresponse [response_index] [response]
   └─ Edits the response for the passed index.  The response passed here does not r...
  $edittrigger [response_index] [regex_trigger]
   └─ Edits the regex trigger for the passed index.  The triggers passed here do no...
  $loadresponses [url] (AKA: addresponses)
   └─ Loads the passed json attachment or URL into the responses dictionary.
  $mvresponse [response_index] [target_index] (AKA: moveresponse)
   └─ Moves the passed response index to the target index (bot-admin only).
  $remresponse [regex_trigger_number] (AKA: removeresponse, deleteresponse, delresponse)
   └─ Removes the passed response trigger (bot-admin only).
  $responses  (AKA: listresponses)
   └─ Lists the response triggers and their responses (bot-admin only).
  $saveresponses 
   └─ Saves the responses dictionary to a json file and uploads.
  $viewresponse [response_index] (AKA: getresponse)
   └─ Displays the response in full which corresponds to the target index (bot-admi...
  $viewtrigger [response_index] (AKA: gettrigger)
   └─ Displays the regex trigger in full which corresponds to the target index (bot...

Search

Search Cog (8 commands) - Search.py Extension:

  $aol [query]
   └─ The OG search engine.
  $ask [query]
   └─ Jeeves, please answer these questions.
  $bing [query]
   └─ Get some uh... more searching done.
  $convert [amount] [frm] [to] (AKA: con, conv, currency, curr)
   └─ Convert currencies.  If run with no values, the script will print a list of a...
  $currlist [search] (AKA: listcurr, lcurr, currl)
   └─ List currencies for the convert command.
  $duck [query]
   └─ Duck Duck... GOOSE.
  $google [query]
   └─ Get some searching done.
  $yahoo [query]
   └─ Let Yahoo! answer your questions.

SecretSanta

SecretSanta Cog (11 commands) - SecretSanta.py Extension:

  $allowss [yes_no]
   └─ Sets whether the Secret Santa module is enabled (owner only; always off by de...
  $getssrole 
   └─ Lists the current Secret Santa role.
  $rawssmessage 
   └─ Prints the raw markdown for the Secret Santa channel create message (bot-admi...
  $setssmessage [message]
   └─ Sets the Secret Santa channel create message (bot-admin only). 
  $setssrole [role]
   └─ Sets the Secret Santa role, or clears it if no role passed (bot-admin only).
  $ssapplyreport [url]
   └─ Applies the passed ss.json file's settings and gives the Secret Santa channel...
  $sscreatechannels [category]
   └─ Creates the private channels for all users with the Secret Santa role under t...
  $ssgenreport [category]
   └─ Randomly pairs users for Secret Santa and uploads a ss.json report (bot-admin...
  $ssremovechannels [category]
   └─ Removes all Secret Santa channels under a given category whose names correspo...
  $ssrevert [category]
   └─ Returns ownership of the Secret Santa channels to their original owners if fo...
  $testssmessage 
   └─ Prints the current Secret Santa channel create message (bot-admin only).

Server

Server Cog (14 commands) - Server.py Extension:

  $addprefix [prefix]
   └─ Adds a server-specific command prefix.  If it contains spaces, you will need ...
  $autopcpp [setting]
   └─ Sets the bot's auto-pcpartpicker markdown if found in messages (admin-only). ...
  $clearprefix  (AKA: clearprefixes, clrprefix, clrprefixes)
   └─ Clears any server-specific prefixes (bot-admin only).
  $dumpservers 
   └─ Dumps a timpestamped list of servers into the same directory as the bot (owne...
  $endpoll [message_url] (AKA: pollend, epoll, endp, endvote, endv)
   └─ Ends the poll that resides at the passed message url.  Must be either the ori...
  $getjoinrole  (AKA: joinrole)
   └─ Gets the role applied to each new user that joins (admin only).
  $getprefix  (AKA: getprefixes, prefix, prefixes)
   └─ Output's the server's prefixes - custom or otherwise.  Each prefix is wrapped...
  $info 
   └─ Displays the server info if any.
  $leaveserver [targetServer]
   └─ Leaves a server - can take a name or id (owner only).
  $poll [poll_options] (AKA: vote)
   └─ Starts a poll - which can take a custom prompt/question, as well as one or up...
  $remprefix [prefix] (AKA: removeprefix, delprefix, deleteprefix)
   └─ Removes a server-specific command prefix.  If it contains spaces, you will ne...
  $setinfo [word]
   └─ Sets the server info (bot-admin only).
  $setjoinrole [role]
   └─ Sets the role to apply to each new user that joins (admin only).
  $setprefix [prefix]
   └─ Sets the bot's server-specific prefix.  This will remove all other server-spe...

ServerStats

ServerStats Cog (15 commands) - ServerStats.py Extension:

  $allmessages 
   └─ Lists the number of messages I've seen on all severs so far. (only applies af...
  $bottomservers 
   └─ Lists the bottom servers I'm connected to ordered by population.
  $firstjoins 
   └─ Lists the first users to join.
  $firstservers 
   └─ Lists the first servers I've joined.
  $joinedatpos <position>
   └─ Lists the user that joined at the passed position.
  $joinpos [member]
   └─ Tells when a user joined compared to other users.
  $listbots [guild_name]
   └─ Lists up to the first 20 bots of the current or passed server.
  $listservers 
   └─ Lists the servers I'm connected to.
  $messages 
   └─ Lists the number of messages I've seen on this sever so far. (only applies af...
  $recentjoins 
   └─ Lists the most recent users to join.
  $recentservers 
   └─ Lists the most recent users to join - default is 10, max is 25.
  $serverinfo [guild_name]
   └─ Lists some info about the current or passed server.
  $sharedservers [member]
   └─ Lists how many servers you share with the bot.
  $topservers 
   └─ Lists the top servers I'm connected to ordered by population.
  $users 
   └─ Lists the total number of users on all servers I'm connected to.

Settings

Settings Cog (14 commands) - Settings.py Extension:

  $addowner [member]
   └─ Adds an owner to the owner list.  Can only be done by a current owner.
  $claim 
   └─ Claims the bot if disowned - once set, can only be changed by the current owner.
  $disown 
   └─ Revokes all ownership of the bot.
  $flush 
   └─ Flush the bot settings to disk (admin only).
  $getsstat [stat]
   └─ Gets a server stat (admin only).
  $getstat [stat] [member]
   └─ Gets the value for a specific stat (case-sensitive).  If the stat has spaces,...
  $ownerlock 
   └─ Locks/unlocks the bot to only respond to the owner (owner-only... ofc).
  $owners 
   └─ Lists the bot's current owners.
  $prune 
   └─ Iterate through all members on all connected servers and remove orphaned sett...
  $prunelocalsettings 
   └─ Compares the current server's settings to the default list and removes any no...
  $prunesettings 
   └─ Compares all connected servers' settings to the default list and removes any ...
  $remowner [member]
   └─ Removes an owner from the owner list.  Can only be done by a current owner.
  $setsstat [stat] [value]
   └─ Sets a server stat (admin only).
  $verifydefaultroles  (AKA: recheckdefaultroles)
   └─ Forces a recheck of all members to ensure they have the default role applied ...

SettingsDict

SettingsDict Cog (1 command) - SettingsDict.py Extension:

  $sdict [command] [key] [args]
   └─ Allows the bot's owners to interface with the settings_dict.json.

Setup

Setup Cog (1 command) - Setup.py Extension:

  $setup 
   └─ Runs first-time setup (server owner only).

Spooktober

Spooktober Cog (1 command) - Spooktober.py Extension:

  $spooking [yes_no]
   └─ Enables/Disables reacting 🎃 to every sp00py message on Halloween (owner only).

Stream

Stream Cog (8 commands) - Stream.py Extension:

  $addstreamer [member]
   └─ Adds the passed member to the streamer list (bot-admin only).
  $rawstream 
   └─ Displays the raw markdown for the stream announcement message (bot-admin only).
  $remstreamer [member]
   └─ Removes the passed member from the streamer list (bot-admin only).
  $setstream [message]
   └─ Sets the stream announcement message (bot-admin only).
  $setstreamchannel [channel]
   └─ Sets the channel for the stream announcements (bot-admin only).
  $streamchannel 
   └─ Displays the channel for the stream announcements - if any.
  $streamers 
   └─ Lists the current members in the streamer list.
  $teststream 
   └─ Tests the stream announcement message (bot-admin only).

Strike

Strike Cog (12 commands) - Strike.py Extension:

  $addban [member]
   └─ Adds the passed user to the ban list (bot-admin only).
  $addkick [member]
   └─ Adds the passed user to the kick list (bot-admin only).
  $isbanned [member]
   └─ Lists whether the user is in the ban list.
  $iskicked [member]
   └─ Lists whether the user is in the kick list.
  $removeban [member]
   └─ Removes the passed user from the ban list (bot-admin only).
  $removekick [member]
   └─ Removes the passed user from the kick list (bot-admin only).
  $removestrike [member]
   └─ Removes a strike given to a member (bot-admin only).
  $setstrikelevel [member] [strikelevel]
   └─ Sets the strike level of the passed user (bot-admin only).
  $setstrikelimit [limit]
   └─ Sets the number of strikes before advancing to the next consequence (bot-admi...
  $strike [member] [days] [message]
   └─ Give a user a strike (bot-admin only).
  $strikelimit 
   └─ Lists the number of strikes before advancing to the next consequence.
  $strikes [member]
   └─ Check a your own, or another user's total strikes (bot-admin needed to check ...

Telephone

Telephone Cog (10 commands) - Telephone.py Extension:

  $call [number] (AKA: dial)
   └─ Calls the passed number.  Can use *67 to hide your identity - or *69 to conne...
  $callerid 
   └─ Reveals the last number to call regardless of *67 settings (bot-admin only).
  $phonebook [look_up]
   └─ Lets you page through the phonebook - or optionally lets you search for a ser...
  $settelechannel [channel]
   └─ Sets the channel for telephone commands - or disables that if nothing is pass...
  $teleblock [guild_name]
   └─ Blocks all tele-numbers associated with the passed guild (bot-admin only).
  $teleblocklinks [yes_no]
   └─ Enables/Disables removing links sent over telephone calls (bot-admin only).
  $teleblocks 
   └─ Lists guilds with blocked tele-numbers.
  $telechannel 
   └─ Prints the current channel for telephone commands.
  $telenumber 
   └─ Prints your telephone number.
  $teleunblock [guild_name]
   └─ Unblocks all tele-numbers associated with the passed guild (bot-admin only).

TempRole

TempRole Cog (10 commands) - TempRole.py Extension:

  $addtemprole [role]
   └─ Adds a new role to the temp role list (admin only).
  $autotemp [role]
   └─ Sets the temp role to apply to each new user that joins.
  $getautotemp 
   └─ Gets the temp role applied to each new user that joins.
  $hastemp [member]
   └─ Displays any temp roles the passed user has, and the remaining time.
  $listtemproles 
   └─ Lists all roles for the temp role system.
  $removetemprole [role]
   └─ Removes a role from the temp role list (admin only).
  $temp [member] [role] [cooldown]
   └─ Gives the passed member the temporary role for the passed amount of time - ne...
  $temppm [yes_no]
   └─ Sets whether to inform users that they've been given a temp role.
  $temptime [minutes]
   └─ Sets the number of minutes for the temp role - must be greater than 0 (admin-...
  $untemp [member] [role]
   └─ Removes the passed temp role from the passed user (bot-admin only).

Time

Time Cog (6 commands) - Time.py Extension:

  $listtz [tz_search]
   └─ List all the supported TimeZones.
  $offset [member]
   └─ See a member's UTC offset.
  $setoffset [offset]
   └─ Set your UTC offset.
  $settz [tz]
   └─ Sets your TimeZone - Overrides your UTC offset - and accounts for DST.
  $time [offset]
   └─ Get UTC time +- an offset.
  $tz [member]
   └─ See a member's TimeZone.

Translate

Translate Cog (4 commands) - Translate.py Extension:

  $detectlang [text]
   └─ Reports the detected language and certainty of the passed text.
  $langlist [search] (AKA: listlang, llist, listl)
   └─ Lists available languages - can optionally take a search term and will list t...
  $pronounce [text] (AKA: pr)
   └─ Pronunciation for a sentence in the English language.
  $translate [translate] (AKA: tr)
   └─ Translate some stuff!  Takes a phrase, the from language identifier and the t...

Turret

Turret Cog (1 command) - Turret.py Extension:

  $turret 
   └─ Now you're thinking with - wait... uh.. turrets?

Uptime

Uptime Cog (1 command) - Uptime.py Extension:

  $uptime 
   └─ Lists the bot's uptime.

UrbanDict

UrbanDict Cog (2 commands) - UrbanDict.py Extension:

  $define [word]
   └─ Gives the definition of the word passed.
  $randefine 
   └─ Gives a random word and its definition.

UserRole

UserRole Cog (17 commands) - UserRole.py Extension:

  $addrole [role]
   └─ Adds a role from the user role list to your roles.  You can have multiples at...
  $adduserrole [role]
   └─ Adds a new role to the user role system (admin only).
  $clearroles 
   └─ Removes all user roles from your roles.
  $isurblocked [member]
   └─ Outputs whether or not the passed user is blocked from the UserRole module.
  $listuserroles 
   └─ Lists all roles for the user role system.
  $oneuserrole [yes_no]
   └─ Turns on/off one user role at a time (bot-admin only; always on by default).
  $removeuserrole [role]
   └─ Removes a role from the user role system (admin only).
  $remrole [role]
   └─ Removes a role from the user role list from your roles.
  $rradd [role_name_or_id]
   └─ Adds a new role to the reaction roles list.
  $rrclear 
   └─ Removes the message to watch for user reaction roles, as well as all roles an...
  $rrdel [role_name_or_id]
   └─ Removes the passed role from the reaction roles list (bot-admin only).
  $rrlist 
   └─ Lists the current reaction roles and their corresponding reactions (bot-admin...
  $rrmessage [message_url]
   └─ Gets or sets the message to watch for user reaction roles (bot-admin only).
  $rrtoggle [yes_no]
   └─ Sets whether or not reaction messages will toggle roles - or only add them (b...
  $setrole [role]
   └─ Sets your role from the user role list.  You can only have one at a time.
  $urblock [member]
   └─ Blocks a user from using the UserRole system and removes applicable roles (bo...
  $urunblock [member]
   └─ Unblocks a user from the UserRole system (bot-admin only).

VoteKick

VoteKick Cog (13 commands) - VoteKick.py Extension:

  $setvkchannel [channel]
   └─ Sets which channel then mention posts to when enough votes against a user are...
  $setvkmention [user_or_role]
   └─ Sets which user or role is mentioned when enough votes against a user are rea...
  $vk [user] [server]
   └─ Places your vote to have the passed user kicked.
  $vkanon [yes_no]
   └─ Sets whether vote messages are removed after voting (bot-admin only; always o...
  $vkchannel 
   └─ Gets which channel then mention posts to when enough votes against a user are...
  $vkclear [user]
   └─ Clears the votes against the passed user (bot-admin only).
  $vkexpiretime [the_time]
   └─ Sets the amount of time before a vote expires.  0 or less will make them perm...
  $vkinfo 
   └─ Lists the vote-kick info.
  $vkmention 
   └─ Gets which user or role is mentioned when enough votes against a user are rea...
  $vkmutetime [the_time]
   └─ Sets the number of time a user is muted when the mute votes are reached - 0 o...
  $vks [user]
   └─ Lists the vote count of the passed user (bot-admin only) or the author if no ...
  $vktomention [number_of_votes]
   └─ Sets the number of votes before the selected role or user is mentioned.  Anyt...
  $vktomute [number_of_votes]
   └─ Sets the number of votes before a user is muted.  Anything less than 1 will d...

WatchURL

WatchURL Cog (7 commands) - WatchURL.py Extension:

  $addwatchurl [url]
   └─ Adds a new URL to watch for (bot-admin only).
  $clearwatchedurls 
   └─ Clears all URLs to watch for (bot-admin only).
  $clearwatchurlmatches 
   └─ Clears all URL watch list matches (bot-admin only).
  $delwatchurl [url]
   └─ Removes a URL from the watch list (bot-admin only).
  $lasturls 
   └─ Shows up to the last 200 URLs sent that matched the URL watch lists in order ...
  $listwatchurls 
   └─ Lists the URLs to watch for in passed messages.
  $watchboturls [yes_no]
   └─ Sets whether we watch for URLs from other bots (bot-admin only - disabled by ...

Weather

Weather Cog (3 commands) - Weather.py Extension:

  $forecast [city_name]
   └─ Gets some weather, for 5 days or whatever.
  $tconvert [temp] [from_type] [to_type] (AKA: tcon, tconv)
   └─ Converts between Fahrenheit, Celsius, and Kelvin.  From/To types can be:
  $weather [city_name]
   └─ Gets some weather.

Welcome

Welcome Cog (7 commands) - Welcome.py Extension:

  $rawgoodbye [member]
   └─ Prints the current goodbye message's markdown (bot-admin only).
  $rawwelcome [member]
   └─ Prints the current welcome message's markdown (bot-admin only).
  $setgoodbye [message]
   └─ Sets the goodbye message for your server (bot-admin only).
  $setwelcome [message]
   └─ Sets the welcome message for your server (bot-admin only). 
  $setwelcomechannel [channel]
   └─ Sets the channel for the welcome and goodbye messages (bot-admin only).
  $testgoodbye [member]
   └─ Prints the current goodbye message (bot-admin only).
  $testwelcome [member]
   └─ Prints the current welcome message (bot-admin only).

Wiki

Wiki Cog (1 command) - Wiki.py Extension:

  $wiki [search]
   └─ Search Wikipedia!

Xp

Xp Cog (11 commands) - Xp.py Extension:

  $bottomxp 
   └─ List the bottom xp-holders.
  $defaultrole 
   └─ Lists the default role that new users are assigned.
  $gamble [bet]
   └─ Gamble your xp reserves for a chance at winning xp!
  $leaderboard 
   └─ List the top xp-holders.
  $listxproles 
   └─ Lists all roles, id's, and xp requirements for the xp promotion/demotion system.
  $rank [member]
   └─ Say the highest rank of a listed member.
  $recheckrole [user]
   └─ Re-iterate through all members and assign the proper roles based on their xp ...
  $recheckroles 
   └─ Re-iterate through all members and assign the proper roles based on their xp ...
  $stats [member]
   └─ List the xp and xp reserve of a listed member.
  $xp [member] [xpAmount]
   └─ Gift xp to other members.
  $xpinfo 
   └─ Gives a quick rundown of the xp system.

XpBlock

XpBlock Cog (4 commands) - XpBlock.py Extension:

  $listxpblock 
   └─ Lists xp blocked users and roles.
  $xpblock [user_or_role]
   └─ Adds a new user or role to the xp block list (bot-admin only).
  $xpunblock [user_or_role]
   └─ Removes a user or role from the xp block list (bot-admin only).
  $xpunblockall 
   └─ Removes all users and roles from the xp block list (bot-admin only).

XpStack

XpStack Cog (5 commands) - XpStack.py Extension:

  $checkxp 
   └─ Displays the last xp transactions (bot-admin only).
  $clearallxp 
   └─ Clears all xp transactions from the transaction list for all servers (owner-o...
  $clearxp 
   └─ Clears the xp transaction list (bot-admin only).
  $setxpcount [count]
   └─ Sets the number of xp transactions to keep (default is 10).
  $xpcount [count]
   └─ Returns the number of xp transactions to keep (default is 10).

corpbot.py's People

Contributors

1byte2bytes avatar corpnewt avatar goldfish64 avatar hameerabbasi avatar hkusdaryanto avatar ioiiio avatar kernel-dev avatar mahasvan avatar mercurial avatar siirrandall avatar vampjaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

corpbot.py's Issues

How to use MongoDB?

hi corpnewt.

how can i use mongoDB in this bot?
so the data base is not from json.

thank you.

Links in Lists encoding characters.

When adding either a hack or link to the bot in the following form, the bot will encode the trailing ticks in rawhack/rawlink.

```https://test.com```

Expected behaviour would be:

User: $addlink test ```https://test.com```
Bot: test added to link list!
User: $link test
Bot: https://test.com
User: $rawlink test
Bot: ```https://test.com```

Instead the observed behaviour is:

User: $addlink test ```https://test.com```
Bot: test added to link list!
User: $link test
Bot: https://test.com
User: $rawlink test
Bot: ```https://test.com/%60%60%60

CAH cog issue.

This issue is very similar to "Cards against humanity cog question #42" from BleuSkie.

I have been using CorpBot for a while now and it's great. I used to use the CAH cog all the time but now it's not working. I found out that the deck.json was missing so I redownloaded it from the linked website but that still seems to have the same issue, a keyword error for whiteCards. I had a look into the json and found that there was no mention of whiteCards, the closest I could find was white. From this I assume the format has changed. Thankfully I was able to find an old version of it in the Issue report mentioned at the start, however when trying to run with that file it still doesn't work. Any help would be greatly appreciated!

Thanks for making such a great bot available to others!

Here is the error if it helps:
image

Updated not but errors no matter what

I have tried everything. CorpBot as is just with Lavalink and my setting_dict and then just my bot and I'm getting the exact same error each time.

Cogs.Settings failed to load!

And

Ignoring exception in on_loaded_extension
Traceback (most recent call last):
  File "C:\Users\shaki\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "C:\Users\shaki\OneDrive\Documents\MesdusaBot---d.py\Cogs\Mute.py", line 66, in on_loaded_extension
    muteList = self.settings.getServerStat(server, "MuteList")
AttributeError: 'NoneType' object has no attribute 'getServerStat'
Gathering invites...
Ignoring exception in on_loaded_extension
Traceback (most recent call last):
  File "C:\Users\shaki\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "C:\Users\shaki\OneDrive\Documents\MesdusaBot---d.py\Cogs\Invite.py", line 91, in on_loaded_extension
    if self.settings.getGlobalStat("AllowServerJoin", True): return # No need to check - not restricting
AttributeError: 'NoneType' object has no attribute 'getGlobalStat'
'NoneType' object has no attribute 'getGlobalStat'

The second is happening for pretty much all of the cogs and I don't know why. It was working fine the day before yesterday. It happens when I start the bot From StartBot.bat and Main.py

So far it's saying for Mute.py, Debugging.py, Stream.py, Invite.py and it's still loading the bot repeating the

AttributeError: 'NoneType' object has no attribute 'getGlobalStat'
'NoneType' object has no attribute 'getGlobalStat'

error for Debugging and Stream

Any way to edit the standard.brn file

Hey I want to change how ChatterBot reacts and make it help my community how can i do it and do I need to edit the .brn file or is there a different solution?

getServerStat error

I do not have mongodb installed so it should convert to json, but I keep getting an error that it couldn't get getServerStat. I do have the get_cog in my init

Gamelookup

Hey, I added the gamelookup cog, but it doesnt work... I got an API key from their website, but where do I put it? how do I format it? As what do I save it?

You like?

I changed your bot, in every language of xp, and the setup now it can work simultaneously with the 2 systems, both with xp reservation and xp per hour, do you want me to send you a copy of the edition that I did?

Face.py commands let users mention roles they lack permissions to mention.

If a user runs one of the commands belonging to in any case Face.py, and potentially other cogs with a handmade role tag behind it ie. $lenny <@123421> the bot will then ping that role in the output if it has permission to do so, even if the original user didn't.

This can easily lead to massive mass-mentions in servers.

Lavalink Error

I keep getting this error when I try and play something on a voice channel. The hot also doesn't seem to appear in the voice channel even using the join/summon command.

Connection Failure: Cannot connect to host 127.0.0.1:2333 ssl:default [The remote computer refused the network connection]
Error resolving search:
ClientConnectorError(ConnectionKey(host='127.0.0.1', port=2333, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), ConnectionRefusedError(22, 'The remote computer refused the network connection', None, 1225, None))

I also got these errors

Loading CogManager...
Connecting to database on localhost:27017...
Connection failed, trying JSON
Since no mongoDB instance was running, I'm reverting back to the Settings.json
Loading brain from standard.brn...done (97002 categories in 14.62 seconds)
Kernel bootstrap completed in 14.63 seconds
Missing idgbkey - skipping.
Loaded 105 of 105 cogs.
Ignoring exception in on_all_shards_ready
Traceback (most recent call last):
File "C:\Users\shaki\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "C:\Users\shaki\OneDrive\Documents\MesdusaBot---d.py\Main.py", line 88, in on_all_shards_ready
await return_message()
NameError: name 'return_message' is not defined

Trying to update via git...

fatal: unable to access 'https://github.com/EunolaSims4/MesdusaBot---d.py.git/': Could not resolve host: github.com

'NoneType' object has no attribute

I downloaded the new build of the bot but I keep getting this error for the CogManager

C:\Users\shaki\Downloads\CorpBot.py-rewrite (2)\CorpBot.py-rewrite\Main.py:106: RuntimeWarning: coroutine 'BotBase.load_extension' was never awaited
bot.load_extension("Cogs.CogManager")
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[2022-08-25 09:34:07] [ERROR ] discord.client: Ignoring exception in on_all_shards_ready
Traceback (most recent call last):
File "C:\Users\shaki\OneDrive\Documents\MEGA\MesdusaBot---d.py\venv\lib\site-packages\discord\client.py", line 409, in _run_event
await coro(*args, **kwargs)
File "C:\Users\shaki\Downloads\CorpBot.py-rewrite (2)\CorpBot.py-rewrite\Main.py", line 109, in on_all_shards_ready
cog_loaded, cog_count = cg_man._load_extension()
AttributeError: 'NoneType' object has no attribute '_load_extension'

Won't install on Mac OS X

writing Pillow.egg-info/PKG-INFO
writing dependency_links to Pillow.egg-info/dependency_links.txt
writing top-level names to Pillow.egg-info/top_level.txt
warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.macosx-10.6-intel-3.6/PIL
running build_ext
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/0f/35tnh08j59sc_j50t0vhk7y80000gn/T/pip-build-lvh4cqzh/Pillow/setup.py", line 753, in <module>
    zip_safe=not debug_build(), )
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/private/var/folders/0f/35tnh08j59sc_j50t0vhk7y80000gn/T/pip-build-lvh4cqzh/Pillow/setup.py", line 521, in build_extensions
    ' using --disable-%s, aborting' % (f, f))
ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting

----------------------------------------

Command "/usr/local/bin/python3 -u -c "import setuptools, tokenize;file='/private/var/folders/0f/35tnh08j59sc_j50t0vhk7y80000gn/T/pip-build-lvh4cqzh/Pillow/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/0f/35tnh08j59sc_j50t0vhk7y80000gn/T/pip-omb9091a-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/0f/35tnh08j59sc_j50t0vhk7y80000gn/T/pip-build-lvh4cqzh/Pillow/

CorpNewt, meet me on your Discord.

Music is not working

Hi, recently I forked CorpBot. I'm configuring the CorpBot's Music.py Cog with my lavalink server host but it say's that it can't find the video, how can I solve this? (it can't play youtube url too)

for example my lavalink server thing:

node = self.bot.wavelink.get_best_node() if not node: node = await self.bot.wavelink.initiate_node(host='lava.xxxxxxx.host', port=2333, rest_uri='http://lava.xxxxxx.host:2333/', password='xxxxxxx', identifier='Kegri', region='us_central')

Claiming the Bot

I can’t seem to claim my bot. I use the command and it responds that it’s been claimed but when I go and use a command that requires owner the bot responds saying it hasn’t been claimed

a very weird issue

here is the whole output of the .bat
Git is not found in your PATH var!
Updates will be disabled!
Starting up 4 shards...
Traceback (most recent call last):
File "C:\Users\Administrator\Downloads\CorpBot.py-rewrite\Main.py", line 395, in
bot.run(settings_dict.get("token",""))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 723, in run
return future.result()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 702, in runner
await self.start(*args, **kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 666, in start
await self.connect(reconnect=reconnect)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\shard.py", line 445, in connect
raise item.error
discord.errors.PrivilegedIntentsRequired: Shard ID 0 is requesting privileged intents that have not been explicitly enabled in the developer portal. It is recommended to go to https://discord.com/developers/applications/ and explicitly enable the privileged intents within your application's page. If this is not possible, then consider disabling the privileged intents instead.
Return code: 1
Starting up 4 shards...

IDK if this goes here

...But the bot seems to leave as soon as it joins any discord server, for both me and a friend

Settings.py KeyError

Hello,

Somehow, out of nowhere, my bot wont start anymore... Apparently some KeyError? I use the latest updated Settings.py file.

May 17 04:03:13 dutchy env[29452]: Traceback (most recent call last):
May 17 04:03:13 dutchy env[29452]:   File "/usr/local/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 577, in _load_from_module_spec
May 17 04:03:13 dutchy env[29452]:     setup(self)
May 17 04:03:13 dutchy env[29452]:   File "/usr/bin/CharlesBot/cogs/Settings.py", line 25, in setup
May 17 04:03:13 dutchy env[29452]:     bot.add_cog(Settings(bot))
May 17 04:03:13 dutchy env[29452]:   File "/usr/bin/CharlesBot/cogs/Settings.py", line 301, in __init__
May 17 04:03:13 dutchy env[29452]:     self.load_local()
May 17 04:03:13 dutchy env[29452]:   File "/usr/bin/CharlesBot/cogs/Settings.py", line 351, in load_local
May 17 04:03:13 dutchy env[29452]:     self.serverDict["Servers"][collection_name] = collection
May 17 04:03:13 dutchy env[29452]: KeyError: 'Servers'
May 17 04:03:13 dutchy env[29452]: The above exception was the direct cause of the following exception:
May 17 04:03:13 dutchy env[29452]: Traceback (most recent call last):
May 17 04:03:13 dutchy env[29452]:   File "/usr/local/lib/python3.7/site-packages/discord/client.py", line 255, in _run_event
May 17 04:03:13 dutchy env[29452]:     await coro(*args, **kwargs)
May 17 04:03:13 dutchy env[29452]:   File "/usr/bin/CharlesBot/index.py", line 43, in on_connect
May 17 04:03:13 dutchy env[29452]:     bot.load_extension("cogs.Settings")
May 17 04:03:13 dutchy env[29452]:   File "/usr/local/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 622, in load_extension
May 17 04:03:13 dutchy env[29452]:     self._load_from_module_spec(lib, name)
May 17 04:03:13 dutchy env[29452]:   File "/usr/local/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 581, in _load_from_module_spec
May 17 04:03:13 dutchy env[29452]:     raise errors.ExtensionFailed(key, e) from e
May 17 04:03:13 dutchy env[29452]: discord.ext.commands.errors.ExtensionFailed: Extension 'cogs.Settings' raised an error: KeyError: 'Servers'```

Get/Set User Stats Issues

Hello,

We are unable to set or get our global user stats, the format may be the root cause of this error, I'm getting the following for settz:

Ignoring exception in command settz:
Traceback (most recent call last):
File "\Python\Python36\lib\site-packages\discord\ext\commands\core.py", line 62, in wrapped
ret = await coro(*args, **kwargs)
File "\Cogs\Time.py", line 52, in settz
self.settings.setGlobalUserStat(ctx.author, "TimeZone", tz_list[index]['Item'])
File "Cogs\Settings.py", line 734, in setGlobalUserStat
userList[str(user.id)][stat] = value
TypeError: list indices must be integers or slices, not str

Cogs

Hey where can I find additional cogs (or I cant?) And can I have a discord server link too I cannot find it on your reddit ty

discord.py no longer updated

This isn't really an issue at least I don't think but disord.py will no longer be updated or maintained and I was wondering if it would effect the bot in any way?

Banned due to spam with Telephone

Hello,

During the last night, my bot/client has been banned from Discord for spamming ads on servers. Some persons used the telephone module to spam each server which accepted their calls.

I tried with regex to avoid the bot sending links but I'm really confused and I don't want to get my bot banned anymore. If it happens again, they will probably disable my account too.

Thanks for your help.

Can not be owner.

I am trying to change the status of the bot and it is saying the owner isn't claimed yet I can not find where I put the owner.

image

Cards against humanity cog question

Hello. I am unsure how the cog works. I get a no white card error and invalid form body when I try to run commands for the cog like $hand and $addbot. I saw you needed a deck list, but that didn't seem to download with the rest of the bot. I did see the site in the code and made a deck.json file for it, but I am unsure of the formating. I am entirely new to this and that could be my problem. Could you give me a little insight? Thanks. (Sorry if this is a dumb question)

cah

3 cogs not loading

#the issue is that the music/chatterbot/bot cogs are not loading.
#this is the output of the cogs area
Loading CogManager...
Connecting to database on localhost:27017...
Connection failed, trying JSON
Since no mongoDB instance was running, I'm reverting back to the Settings.json
Bot failed to load!
Extension 'Cogs.Bot' raised an error: ModuleNotFoundError: No module named 'psutil'
deck.json is malformed! CAH will not work correctly!
ChatterBot failed to load!
Extension 'Cogs.ChatterBot' raised an error: AttributeError: module 'time' has no attribute 'clock'
Missing idgbkey - skipping.
Music failed to load!
Extension 'Cogs.Music' raised an error: ModuleNotFoundError: No module named 'wavelink'
Loaded 100 of 103 cogs.

Lists cog not loading

Lists failed to load! Extension 'Cogs.Lists' raised an error: ClientException: Command addtag is already registered.

TypeError: object NoneType can't be used in 'await' expression

So, originally, the bot refused to load ANY cogs, with the message that something wasn't awaited and that cg_man was NoneType. I was able to await the function, but now I get an error on Loading CogManager....:

Traceback (most recent call last):
  File "C:\Users\Samuel\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\discord\client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "C:\Users\Samuel\Desktop\Froggy Bot\Main.py", line 106, in on_all_shards_ready
    await bot.load_extension("Cogs.CogManager")
TypeError: object NoneType can't be used in 'await' expression

I don't know why, can someone help?

DataBase refusing to either start or is broken

i followed what the text said in startbot.bat , i installed lavalink then created a folder with it and then started startbot.bat and it said it was starting the lavalink server but still seems like the server is refusing to start
image and
image
same problem

Music is not working

When i use the play command i get this error

Ignoring exception in command play:
Traceback (most recent call last):
  File "E:\Programme\Python\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
    ret = await coro(*args, **kwargs)
  File "E:\Downloads\CorpBot.py-rewrite\Cogs\Music.py", line 350, in play
    await self.resolve_search(ctx, url)
  File "E:\Downloads\CorpBot.py-rewrite\Cogs\Music.py", line 83, in resolve_search
    data = await self.add_to_queue(ctx, url, shuffle)
  File "E:\Downloads\CorpBot.py-rewrite\Cogs\Music.py", line 115, in add_to_queue
    tracks = await self.bot.wavelink.get_tracks(url)
  File "E:\Programme\Python\lib\site-packages\wavelink\client.py", line 100, in get_tracks
    return await node.get_tracks(query)
AttributeError: 'NoneType' object has no attribute 'get_tracks'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "E:\Programme\Python\lib\site-packages\discord\ext\commands\bot.py", line 863, in invoke
    await ctx.command.invoke(ctx)
  File "E:\Programme\Python\lib\site-packages\discord\ext\commands\core.py", line 728, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "E:\Programme\Python\lib\site-packages\discord\ext\commands\core.py", line 88, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'get_tracks'

PCPP Command

I could be stupid, however whenever I try to use the $pcpp list, whatever link I try or whatever I do, the bot always responds with:
Something went wrong! Make sure you use a valid pcpartpicker link.

Along with that, the autopcpp command once sent it says "Auto pcpartpicker disabled", afterwards if you send it again it doesn't reply with anything, and once again after sending that it just says "Auto pcpartpicker disabled".
After "turning on" the autopcpp command, and sending a link, the bot does nothing.

Need links

Hey sorry for making a issue but can I please have Support server or a link to invite the bot I just wanna check it out ty (I recommend giving both)

Resetting Bot Presence

I was trying to remove the bot set custom status but I can’t seem to find a way to do so. I’ve shutdown the bot and restarted it.

Chatterbot cog is not loading

Here is the error
ChatterBot failed to load!
Extension 'Cogs.ChatterBot' raised an error: AttributeError: module 'time' has no attribute 'clock'

API Key

Where do I get my weather and currency API from?
image

Help?

I keep getting this error when I start my bot. I didn't get it before but after turning on intents I do. I deleted the part that says intents but I am still getting the same error

WEBSOCKET | Connection Failure:: Cannot connect to host 127.0.0.1:2333 ssl:default [Connect call failed ('127.0.0.1', 2333)]
Traceback (most recent call last):
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\aiohttp\connector.py", line 969, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File "C:\Users\shaki\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 943, in create_connection
raise exceptions[0]
File "C:\Users\shaki\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 930, in create_connection
await self.sock_connect(sock, address)
File "C:\Users\shaki\AppData\Local\Programs\Python\Python37-32\lib\asyncio\selector_events.py", line 475, in sock_connect
return await fut
File "C:\Users\shaki\AppData\Local\Programs\Python\Python37-32\lib\asyncio\selector_events.py", line 505, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 10061] Connect call failed ('127.0.0.1', 2333)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\wavelink\websocket.py", line 76, in _connect
self._websocket = await self._node.session.ws_connect(uri, headers=self.headers, heartbeat=self._node.heartbeat)
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\aiohttp\client.py", line 763, in _ws_connect
proxy_headers=proxy_headers,
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\aiohttp\client.py", line 521, in _request
req, traces=traces, timeout=real_timeout
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\aiohttp\connector.py", line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\aiohttp\connector.py", line 892, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\aiohttp\connector.py", line 1051, in _create_direct_connection
raise last_exc
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\aiohttp\connector.py", line 1032, in _create_direct_connection
client_error=client_error,
File "C:\Users\shaki\PycharmProjects\Medusa\venv\lib\site-packages\aiohttp\connector.py", line 975, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:2333 ssl:default [Connect call failed ('127.0.0.1', 2333)]

now I’m unable to claiming the bot and it won’t go offline

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.