CorpBot.py
A very clumsy python bot for discord
Install / Use
/learn @corpnewt/CorpBot.pyREADME
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, Printer, Profile, Promote, Quote, RPS, RateLimit, Reddit, Remind, Responses, Search, SecretSanta, Server, ServerStats, Settings, SettingsDict, Setup, Song 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] (AKA: setxpr)
└─ 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] (AKA: setxplimit)
└─ Gets and sets a limit to the maximum xp a member can get. Pass a negative va...
$xpreservelimit [limit] (AKA: xprlimit, setxprlimit, setxpreservelimit)
└─ 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 (25 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.
$deletedm [message_link] (AKA: deldm, dmdel, dmdelete)
└─ Deletes the passed message link if sent from the bot in dms.
$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] (AKA: restart)
└─ 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
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
