diff --git a/Dockerfile b/Dockerfile index 10856422..be4ddfd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10.6 +FROM python:3.10.19 WORKDIR /app COPY . /app RUN pip install -Ur requirements.txt diff --git a/docs/Actionlog.rst b/docs/Actionlog.rst index a1635a20..6bea280a 100644 --- a/docs/Actionlog.rst +++ b/docs/Actionlog.rst @@ -15,16 +15,6 @@ Command group to configure Join/Leave logs `{prefix}memberlogconfig setjoinmessage template`: Sets join template `{prefix}memberlogconfig setleavemessage template`: Sets leave template `{prefix}memberlogconfig help`: Returns the template formatting key -setleavemessage -+++++++++++++++ -Configure custom leave message template -:: - -setjoinmessage -++++++++++++++ -Configure custom join message template -:: - help ++++ Displays message formatting key @@ -35,6 +25,22 @@ toggleping Toggles whenever a new member gets pinged on join :: +setleavemessage ++++++++++++++++ +Configure custom leave message template +:: + +viewconfig +++++++++++ +Command to view Join/Leave logs configuration. +:: + +togglesendonverify +++++++++++++++++++ +Toggles if a join log is sent on user joining or on completing +verification +:: + disable +++++++ Disables Join/Leave logging @@ -45,6 +51,11 @@ setchannel Configure join/leave channel :: +setjoinmessage +++++++++++++++ +Configure custom join message template +:: + locknickname ++++++++++++ Locks a members nickname to a particular string, in essence revoking diff --git a/docs/FTCInfo.rst b/docs/FTCInfo.rst new file mode 100644 index 00000000..b10e83f3 --- /dev/null +++ b/docs/FTCInfo.rst @@ -0,0 +1,37 @@ +======= +FTCInfo +======= +ftc ++++ +Get information on an FTC team from FTC-Events. If no subcommand is +specified, the `team` subcommand is inferred, and the argument is taken +as a team number. +:: + `{prefix}ftc 5667` - show information on team 5667, Robominers +opr ++++ +Get information with OPR on an FTC team by number. +:: + +searchteam +++++++++++ +Search for an FTC team by name. +:: + `{prefix}ftc search warbots` - show first 5 teams with "warbots" in their name +matches ++++++++ +Get a match schedule, defaulting to the latest listed event on +FTC-Events +:: + `{prefix}ftc matches 16377` - show matches for the latest event by team 16377, Spicy Ketchup +`{prefix}ftc matches 8393 USPACMP` - show matches for the Pennsylvania championship by team 8393, BrainSTEM +team +++++ +Get information on an FTC team by number. +:: + `{prefix}ftc team 7244` - show information on team 7244, Out of the Box Robotics +topr +++++ +Get information with OPR on an FTC team by number. +:: + diff --git a/docs/Filter.rst b/docs/Filter.rst index 247c9bde..94bb595c 100644 --- a/docs/Filter.rst +++ b/docs/Filter.rst @@ -17,6 +17,22 @@ Edit an already existing filter using a new pattern. A filter's friendly name cannot be edited. :: `{prefix}filter edit 4 Swear` - Change filter 4 to filter out "Swear" instead of its previous pattern +add ++++ +Add a pattern to the filter using RegEx. Any word can be added and is +tested case-insensitive. +:: + `{prefix}filter add Swear` - Makes it so that "Swear" will be filtered +list +++++ +Lists word filters. +:: + +remove +++++++ +Remove a pattern from the filter list. +:: + `{prefix}filter remove 7` - Disables filter with ID 7 whitelist +++++++++ List all whitelisted roles for this server @@ -32,19 +48,13 @@ remove Remove a role from the whitelist :: `{prefix}filter whitelist remove Admins` - Makes it so that Admins are caught by the filter again. -remove -++++++ -Remove a pattern from the filter list. +viewlist +++++++++ +List all whitelisted roles for this server :: - `{prefix}filter remove 7` - Disables filter with ID 7 + dm ++ Set whether filter words should be DMed when used in bot messages :: - `{prefix}filter dm_config True` - Makes all messages containining filter lists to be sent through DMs -add -+++ -Add a pattern to the filter using RegEx. Any word can be added and is -tested case-insensitive. -:: - `{prefix}filter add Swear` - Makes it so that "Swear" will be filtered + `{prefix}filter dm_config True` - Makes all messages containining filter lists to be sent through DMs diff --git a/docs/Info.rst b/docs/Info.rst index d6e184e5..6f407a28 100644 --- a/docs/Info.rst +++ b/docs/Info.rst @@ -7,10 +7,9 @@ Retrieve information about a member of the guild. If no arguments are passed, information about the author is used. **This command works without mentions.** Remove the '@' before your mention so you don't ping the person unnecessarily. You can pick a member by: - Username -(`cooldude`) - Username and discriminator (`cooldude#1234`) - ID -(`326749693969301506`) - Nickname - must be exact and is case-sensitive -(`"Mr. Cool Dude III | Team 1234"`) - Mention (not recommended) (`@Mr -Cool Dude III | Team 1234`) +(`cooldude`) - ID (`326749693969301506`) - Nickname - must be exact and +is case-sensitive (`"Mr. Cool Dude III | Team 1234"`) - Mention (not +recommended) (`@Mr Cool Dude III | Team 1234`) :: `{prefix}member`: show your member info `{prefix}member {ctx.me}`: show my member info @@ -24,8 +23,13 @@ rolemembers Retrieve members who have this role :: -guild -+++++ +server +++++++ Retrieve information about this guild. :: `{prefix}guild` - get information about this guild +stats ++++++ +Get current running internal/host stats for the bot +:: + `{prefix}stats` - get current bot/host stats diff --git a/docs/Levels.rst b/docs/Levels.rst index e0003e58..44811d53 100644 --- a/docs/Levels.rst +++ b/docs/Levels.rst @@ -3,7 +3,7 @@ Levels ====== meesyncs ++++++++ -Function to scrape ranking data from the mee6 api and save it to the +Function to scrap ranking data from the mee6 api and save it to the database :: `{prefix}meesyncs`: Sync ranking data from the mee6 API to dozer's database @@ -25,6 +25,11 @@ Swaps Snowplow's xp with Dozer's xp `{prefix}adjustlevels transferxp <@Snowplow or "Snowplow"> <@Dozer or "Dozer">`: Adds Snowplow's xp to dozer's xp +setlevel +++++++++ +Changes a members level to requested level +:: + transferxp ++++++++++ Adds xp from one member to another member @@ -35,11 +40,6 @@ swapxp Swap xp stats between two members in a guild :: -setlevel -++++++++ -Changes a members level to requested level -:: - adjustxp ++++++++ Adjusts a members xp by a certain amount @@ -58,19 +58,34 @@ Configures dozer ranks:tm: `{prefix}configureranks notificationsoff`: Turns off notification channel `{prefix}configureranks setrolelevel role level`: Adds a level role `{prefix}configureranks delrolelevel role`: Deletes a level role +notificationchannel ++++++++++++++++++++ +Set up the channel where level up messages are sent +:: + +xprange ++++++++ +Set the range of a servers levels random xp +:: + +setrolelevel +++++++++++++ +Sets a role to be given to a user when they reach a certain level +:: + `{prefix}setrolelevel "level 2" 2`: Will configure the role "level 2" to be given to users who reach level 2` notificationsoff ++++++++++++++++ Turns off level up messages :: -setcooldown -+++++++++++ -Set the time in seconds between messages before xp is calculated again +toggle +++++++ +Toggle dozer ranks :: -keeproles -+++++++++ -Toggles whenever old level role roles will be kept on level up +view_config ++++++++++++ +Shows dozer ranks:tm: config. :: removerolelevel @@ -78,24 +93,14 @@ removerolelevel Removes a levelrole :: `{prefix}removerolelevel level 2 `: Will remove role "level 2" from level roles -toggle -++++++ -Toggle dozer ranks -:: - -setrolelevel -++++++++++++ -Sets a role to be given to a user when they reach a certain level -:: - `{prefix}setrolelevel "level 2" 2`: Will configure the role "level 2" to be given to users who reach level 2` -notificationchannel -+++++++++++++++++++ -Set up the channel where level up messages are sent +keeproles ++++++++++ +Toggles whenever old level role roles will be kept on level up :: -xprange -+++++++ -Set the range of a servers levels random xp +setcooldown ++++++++++++ +Set the time in seconds between messages before xp is calculated again :: rank diff --git a/docs/Management.rst b/docs/Management.rst index 8b85896e..e05c1b94 100644 --- a/docs/Management.rst +++ b/docs/Management.rst @@ -12,14 +12,14 @@ list Displays currently scheduled messages :: `{prefix}schedulesend list`: Lists all scheduled messages for the current guild +delete +++++++ +Delete a scheduled message +:: + `{prefix}schedulesend delete 5`: Deletes the scheduled message with the ID of 5 add +++ Allows a message to be sent at a particular time Headers are distinguished by the characters `-/-` :: `{prefix}schedulesend add #announcments "1/0/1970 0:00:00 GMT" Epoch -/- 00000`: Dozer will send a message on the unix epoch in #announcments -delete -++++++ -Delete a scheduled message -:: - `{prefix}schedulesend delete 5`: Deletes the scheduled message with the ID of 5 diff --git a/docs/Moderation.rst b/docs/Moderation.rst index 672e9aa6..f6690cc1 100644 --- a/docs/Moderation.rst +++ b/docs/Moderation.rst @@ -63,7 +63,7 @@ reading messages. selfdeafen ++++++++++ Deafen yourself for a given time period to prevent you from reading or -sending messages; useful as a study tool. +sending messages. :: `{prefix}selfdeafen time (1h5m, both optional) reason`: deafens you if you need to get work done undeafen @@ -87,6 +87,12 @@ modlogconfig Set the modlog channel for a server by passing the channel id :: `{prefix}modlogconfig #join-leave-logs` - set a channel named #join-leave-logs to log joins/leaves +verifymember +++++++++++++ +Command to verify a member who may not have a team number set, or who +hasn't sent the required verification message. +:: + nmconfig ++++++++ Sets the config for the new members channel @@ -121,6 +127,12 @@ safe default role conventions that the memberconfig command does. `{prefix}linkscrubconfig @ everyone` - set the default role as the link role (ping-safe) `{prefix}linkscrubconfig @.everyone` - set the default role as the link role (ping-safe) `{prefix}linkscrubconfig @/everyone` - set the default role as the link role (ping-safe) +say_the_line +++++++++++++ +Says the line. "Welcome to the server! Please set your team affiliation +in your nickname." +:: + `{prefix}say_the_line @tweirtx` - Says the line mentioning @tweirtx crossbans +++++++++ Cross ban @@ -136,3 +148,8 @@ unsubscribe Remove cross ban subscription :: +view_subs ++++++++++ +View crossban subscriptions for the current server +:: + diff --git a/docs/Modmail.rst b/docs/Modmail.rst new file mode 100644 index 00000000..91dad1cf --- /dev/null +++ b/docs/Modmail.rst @@ -0,0 +1,28 @@ +======= +Modmail +======= +reply ++++++ +Command to reply to a modmail thread. +:: + +configure_modmail ++++++++++++++++++ +Modmail configuration command. target_channel may be in another guild. +:: + +start_modmail_with_user ++++++++++++++++++++++++ +Start modmail with a user, should be used in channel with modmail button +:: + +create_modmail_button ++++++++++++++++++++++ +Creates modmail button +:: + +modmail_close ++++++++++++++ +Closes modmail threads +:: + diff --git a/docs/NameGame.rst b/docs/NameGame.rst index 7d374357..53dd1f33 100644 --- a/docs/NameGame.rst +++ b/docs/NameGame.rst @@ -9,69 +9,48 @@ subcommands: ng info ng startround ng addplayer ng pick ng drop ng skip ng gameinfo :: `{prefix}ng` - show a description on how the robotics team namegame works. -drop +info ++++ -Drops a player from the current game by eliminating them. Once dropped, -they can no longer rejoin. +Show a description of the robotics team name game and how to play. :: - `{prefix}ng drop` - remove the initiator of the command from the current game -startround -++++++++++ -Starts a namegame session. One can select the robotics program by -specifying one of "FRC" or "FTC". + `{prefix}ng help` - show a description on how the robotics team namegame works +modes ++++++ +Returns a list of supported modes :: - `{prefix}ng startround frc` - start an FRC namegame session. -skip + +pick ++++ -Skips the current player if the player wishes to forfeit their turn. +Attempt to pick a team in a game. :: - `{prefix}ng skip` - skip the current player's turn + `{prefix}ng pick 254 poofy cheeses` - attempt to guess team 254 with a specified name of "poofy cheeses". config ++++++ Configuration for namegame :: -leaderboardedit -+++++++++++++++ -Edits the leaderboard -:: - -setchannel -++++++++++ -Sets the namegame channel -:: - -leaderboardclear -++++++++++++++++ -Clears the leaderboard -:: - -clearsetchannel -+++++++++++++++ -Clears the set namegame channel -:: - -setpings -++++++++ -Sets whether or not pings are enabled -:: - defaultmode +++++++++++ Configuration of the default game mode (FRC, FTC, etc.) :: -addplayer -+++++++++ -Add players to the current game. Only works if the user is currently -playing. +skip +++++ +Skips the current player if the player wishes to forfeit their turn. :: - `{prefix}ng addplayer @user1, @user2` - add user1 and user2 to the game. -info + `{prefix}ng skip` - skip the current player's turn +startround +++++++++++ +Starts a namegame session. One can select the robotics program by +specifying one of "FRC" or "FTC". +:: + `{prefix}ng startround frc` - start an FRC namegame session. +drop ++++ -Show a description of the robotics team name game and how to play. +Drops a player from the current game by eliminating them. Once dropped, +they can no longer rejoin. :: - `{prefix}ng help` - show a description on how the robotics team namegame works + `{prefix}ng drop` - remove the initiator of the command from the current game gameinfo ++++++++ Display info about the currently running game. @@ -82,18 +61,14 @@ unheck Emergency removal of a haywire session. :: -pick -++++ -Attempt to pick a team in a game. -:: - `{prefix}ng pick 254 poofy cheeses` - attempt to guess team 254 with a specified name of "poofy cheeses". leaderboard +++++++++++ Display top numbers of wins for the specified game mode :: `{prefix}ng leaderboard ftc` - display the namegame winning leaderboards for FTC. -modes -+++++ -Returns a list of supported modes +addplayer ++++++++++ +Add players to the current game. Only works if the user is currently +playing. :: - + `{prefix}ng addplayer @user1, @user2` - add user1 and user2 to the game. diff --git a/docs/News.rst b/docs/News.rst index 2f77223a..60664b34 100644 --- a/docs/News.rst +++ b/docs/News.rst @@ -6,38 +6,43 @@ news Show help for news subscriptions :: `{prefix}news` - Get a small guide on using the News system -restart_loop -++++++++++++ -Restart the news check loop +next_run +++++++++ +Print out the next time the news check loop will run :: - `{prefix}news restart_loop` - Restart the news loop if you are a developer -subscriptions -+++++++++++++ -List all subscriptions that the current server are subscribed to + `{prefix}news next_run` - Check the next time the loop runs if you are a developer +view_help ++++++++++ +Show help for news subscriptions :: - `{prefix}news subs` - Check all subscriptions in the current server -`{prefix}news subs #news` - See all the subscriptions for #news + get_exception +++++++++++++ If the news check loop has failed, print out the exception and traceback :: `{prefix}news get_exception` - Get the exception that the loop failed with +subscriptions ++++++++++++++ +List all subscriptions that the current server are subscribed to +:: + `{prefix}news subs` - Check all subscriptions in the current server +`{prefix}news subs #news` - See all the subscriptions for #news remove ++++++ Remove a subscription of a given source from a specific channel :: `{prefix}news remove #news cd` - Remove the subscription of Chief Delphi to #news `{prefix}news remove #reddit reddit frc` - Remove the subscription of /r/FRC to #reddit -next_run -++++++++ -Print out the next time the news check loop will run -:: - `{prefix}news next_run` - Check the next time the loop runs if you are a developer sources +++++++ List all available sources to subscribe to. :: `{prefix}`news sources` - Get all available sources +restart_loop +++++++++++++ +Restart the news check loop +:: + `{prefix}news restart_loop` - Restart the news loop if you are a developer add +++ Add a new subscription of a given source to a channel. diff --git a/docs/ProfileMenus.rst b/docs/ProfileMenus.rst new file mode 100644 index 00000000..cc0da040 --- /dev/null +++ b/docs/ProfileMenus.rst @@ -0,0 +1,3 @@ +============ +ProfileMenus +============ diff --git a/docs/QA.rst b/docs/QA.rst new file mode 100644 index 00000000..794e2044 --- /dev/null +++ b/docs/QA.rst @@ -0,0 +1,19 @@ +== +QA +== +ftcqa ++++++ +Shows Answers from the FTC Q&A +:: + `{prefix}ftcqa 19` - show information on FTC Q&A #19 +frcqa ++++++ +Shows Answers from the FRC Q&A +:: + `{prefix}frcqa 19` - show information on FRC Q&A #19 +frcrule ++++++++ +Shows rules from a rule number or search query +:: + `{prefix}frcrule g301` - sends the summary and link to rule G301 +`{prefix}frcrule can i cross the line before teleop` - sends the summary and link to the rule matching the query diff --git a/docs/Roles.rst b/docs/Roles.rst index f666584b..817c9c94 100644 --- a/docs/Roles.rst +++ b/docs/Roles.rst @@ -15,16 +15,11 @@ existing role if one exists. :: `{prefix}giveme add Java` - creates or finds a role named "Java" and makes it giveable `{prefix}giveme Java` - gives you the Java role that was just found or created -delete -++++++ -Deletes and removes a giveable role. -:: - `{prefix}giveme removefromlist Java` - removes the role "Java" from the list of giveable roles but does not remove it from the server or members who have it -list +role ++++ -Lists all giveable roles for this server. +Give you one or more giveable roles, separated by commas. :: - `{prefix}giveme list` - lists all giveable roles + create ++++++ Create a giveable role. Name must not contain commas. Similar to add, @@ -32,16 +27,21 @@ but will always create a new role. :: `{prefix}giveme create Python` - creates a role named "Python" and makes it giveable `{prefix}giveme Python` - gives you the Python role that was just created +list +++++ +Lists all giveable roles for this server. +:: + `{prefix}giveme list` - lists all giveable roles +delete +++++++ +Deletes and removes a giveable role. +:: + `{prefix}giveme removefromlist Java` - removes the role "Java" from the list of giveable roles but does not remove it from the server or members who have it purge +++++ Force a purge of giveme roles that no longer exist in the guild :: -removefromlist -++++++++++++++ -Deletes and removes a giveable role. -:: - remove ++++++ Removes multiple giveable roles from you. Names must be separated by @@ -49,6 +49,11 @@ commas. :: `{prefix}giveme remove Java` - removes the role called "Java" from you (if it can be given with `{prefix}giveme`) `{prefix}giveme remove Java, Python` - removes the roles called "Java" and "Python" from you +removefromlist +++++++++++++++ +Deletes and removes a giveable role. +:: + tempgive ++++++++ Temporarily gives a member a role for a set time. Not restricted to @@ -72,6 +77,14 @@ Base command for setting up and tracking reaction roles `{prefix}rolemenu createmenu #roles Example role menu`: Creates an empty role menu embed `{prefix}rolemenu addrole @robots 🤖:` adds the reaction role 'robots' to the target message `{prefix}rolemenu delrole @robots:` removes the reaction role 'robots' from the target message +delrole ++++++++ +Removes a reaction role from a message or a role menu +:: + -----To target a role menu use this format----- +`{prefix}rolemenu delrole <@robots or "Robots">` +-----To target a custom message use this format----- +`{prefix}rolemenu delrole <@robots or "Robots">` createmenu ++++++++++ Creates a blank reaction role menu @@ -86,11 +99,3 @@ Adds a reaction role to a message or a role menu -----To target a custom message use this format----- `{prefix}rolemenu addrole <@robots or "Robots"> 🤖` -delrole -+++++++ -Removes a reaction role from a message or a role menu -:: - -----To target a role menu use this format----- -`{prefix}rolemenu delrole <@robots or "Robots">` ------To target a custom message use this format----- -`{prefix}rolemenu delrole <@robots or "Robots">` diff --git a/docs/Shortcuts.rst b/docs/Shortcuts.rst index 6e29f728..24fc952f 100644 --- a/docs/Shortcuts.rst +++ b/docs/Shortcuts.rst @@ -1,28 +1,28 @@ ========= Shortcuts ========= -settings -++++++++ -Display the shortcut settings for the current server. +shortcuts ++++++++++ +Display shortcut information :: - `{prefix}shortcuts settings` - display the shortcut settings for the current server + setprefix +++++++++ Set the prefix to be used to respond to shortcuts for the server. :: - `{prefix}shortcuts setprefix ^` - sets the server's shortcut prefix to "^" -set -+++ -Sets the reply for a given shortcut name, creating one if doesn't exist. -:: - `{prefix}shortcuts set foo bar` - sets the shortcut named "foo" to send "bar" + remove ++++++ -Removes a shortcut from the server. +Removes a shortcut from the server by name. +:: + `{prefix}shortcuts remove hello - removes !hello +set ++++ +Set the message to be sent for a given shortcut name. :: - `{prefix}shortcuts remove foo` - removes the shortcut "foo" for the server + `{prefix}shortcuts set hello Hello, World!!!!` - set !hello for the server list ++++ -Lists the shortcuts for the server. +Lists all shortcuts for the server. :: - `{prefix}shortcuts list` - lists the shortcuts that exist for the server + `{prefix}shortcuts list - lists all shortcuts diff --git a/docs/Starboard.rst b/docs/Starboard.rst index 8a3f1159..0e7ce16f 100644 --- a/docs/Starboard.rst +++ b/docs/Starboard.rst @@ -9,20 +9,28 @@ receive a certain number of configured reactions. To configure a starboard, use the `starboard config` subcommand. :: `{prefix}starboard` - Get the current starboard settings for this server -config -++++++ -Modify the settings for this server's starboard +showconfig +++++++++++ +Show the current server's starboard configuration. A starboard (or a +hall of fame) is a channel the bot will repost messages in if they +receive a certain number of configured reactions. To configure +a starboard, use the `starboard config` subcommand. :: - `{prefix}starboard config #hall-of-fame 🌟 5` - Set the bot to repost messages that have 5 star reactions to `#hall-of-fame -`{prefix}starboard config #hall-of-fame 🌟 5 ❌` - Same as above, but with a extra X cancel emoji + +disable ++++++++ +Turn off the starboard if it is enabled +:: + `{prefix}starboard disable` - disables the starboard for the current server add +++ Add a message to the starboard manually :: `{prefix}starboard add 1285719825125 #channel` - add message with id `1285719825125` in `#channel` to the starboard manually. -disable -+++++++ -Turn off the starboard if it is enabled +config +++++++ +Modify the settings for this server's starboard :: - `{prefix}starboard disable` - disables the starboard for the current server + `{prefix}starboard config #hall-of-fame 🌟 5` - Set the bot to repost messages that have 5 star reactions to `#hall-of-fame +`{prefix}starboard config #hall-of-fame 🌟 5 ❌` - Same as above, but with a extra X cancel emoji diff --git a/docs/TBA.rst b/docs/TBA.rst index 36470633..6432573e 100644 --- a/docs/TBA.rst +++ b/docs/TBA.rst @@ -8,33 +8,33 @@ specified, the `team` subcommand is inferred, and the argument is taken as a team number. :: `{prefix}tba 5052` - show information on team 5052, the RoboLobos -media -+++++ -Get media of a team for a given year. Defaults to current year. -:: - `{prefix}tba media 971 2016` - show available media from team 971 Spartan Robotics in 2016 awards ++++++ Gets a list of awards the specified team has won during a year. :: `{prefix}tba awards 1114` - list all the awards team 1114 Simbotics has ever gotten. -team -++++ -Get information on an FRC team by number. +eventsfor ++++++++++ +Get the events a team is registered for a given year. Defaults to +current (or upcoming) year. :: - `{prefix}tba team 4131` - show information on team 4131, the Iron Patriots + `{prefix}tba eventsfor 1533` - show the currently registered events for team 1533, Triple Strange raw +++ Get raw TBA API output for a team. This command is really only useful for development. :: - `{prefix}tba raw 4150` - show raw information on team 4150, FRobotics -eventsfor -+++++++++ -Get the events a team is registered for a given year. Defaults to -current (or upcoming) year. + `{prefix}tba raw 1339` - show raw information on team 1339, AngelBotics +team +++++ +Get information on an FRC team by number. :: - `{prefix}tba eventsfor 1533` - show the currently registered events for team 1533, Triple Strange + `{prefix}tba team 4131` - show information on team 4131, the Iron Patriots +media ++++++ +Get media of a team for a given year. Defaults to current year. +:: + `{prefix}tba media 971 2016` - show available media from team 971 Spartan Robotics in 2016 weather +++++++ Finds the current weather for a given team. diff --git a/docs/Teams.rst b/docs/Teams.rst index dace257f..ca07707d 100644 --- a/docs/Teams.rst +++ b/docs/Teams.rst @@ -13,8 +13,8 @@ Removes an association with a team in the database. `{prefix}removeteam type team_number` - Removes your associations with a specified team teamsfor ++++++++ -Allows you to see the teams for the mentioned user. If no user is -mentioned, your teams are displayed. +Allows you to see the teams for the mentioned user, or yourself if +nobody is mentioned. :: `{prefix}teamsfor member` - Returns all team associations with the mentioned user. Assumes caller if blank. compcheck @@ -29,11 +29,11 @@ onteam Allows you to see who has associated themselves with a particular team. :: `{prefix}onteam type team_number` - Returns a list of users associated with a given team type and number -top -+++ +onteam_top +++++++++++ Show the top 10 teams by number of members in this guild. :: - `{prefix}onteam top` - List the 10 teams with the most members in this guild + `{prefix}onteam_top` - List the 10 teams with the most members in this guild toggleautoteam ++++++++++++++ Toggles automatic adding of team association to member nicknames diff --git a/docs/Voice.rst b/docs/Voice.rst index 83113d97..9d70e5e5 100644 --- a/docs/Voice.rst +++ b/docs/Voice.rst @@ -10,8 +10,8 @@ is enabled `{prefix}autoptt "General #1" 0 - disables AutoPTT for General #1. voicebind +++++++++ -Associates a voice channel with a role, so users joining a voice channel -will automatically be given a specified role or roles. +Binds a voice channel with a role, so users joining voice channels will +be given desired role(s). :: `{prefix}voicebind "General #1" voice-general-1` - sets up Dozer to give users `voice-general-1` when they join voice channel "General #1", which will be removed when they leave. voiceunbind diff --git a/docs/_build/doctrees/Actionlog.doctree b/docs/_build/doctrees/Actionlog.doctree index e0100326..3a7e9c0b 100644 Binary files a/docs/_build/doctrees/Actionlog.doctree and b/docs/_build/doctrees/Actionlog.doctree differ diff --git a/docs/_build/doctrees/Development.doctree b/docs/_build/doctrees/Development.doctree index 01964e6a..27c07ddf 100644 Binary files a/docs/_build/doctrees/Development.doctree and b/docs/_build/doctrees/Development.doctree differ diff --git a/docs/_build/doctrees/FTC.doctree b/docs/_build/doctrees/FTC.doctree new file mode 100644 index 00000000..74e3390b Binary files /dev/null and b/docs/_build/doctrees/FTC.doctree differ diff --git a/docs/_build/doctrees/FTCInfo.doctree b/docs/_build/doctrees/FTCInfo.doctree new file mode 100644 index 00000000..09c1384f Binary files /dev/null and b/docs/_build/doctrees/FTCInfo.doctree differ diff --git a/docs/_build/doctrees/Filter.doctree b/docs/_build/doctrees/Filter.doctree index ab6614a2..4fee27d9 100644 Binary files a/docs/_build/doctrees/Filter.doctree and b/docs/_build/doctrees/Filter.doctree differ diff --git a/docs/_build/doctrees/Fun.doctree b/docs/_build/doctrees/Fun.doctree index bbc02527..bdf485a7 100644 Binary files a/docs/_build/doctrees/Fun.doctree and b/docs/_build/doctrees/Fun.doctree differ diff --git a/docs/_build/doctrees/General.doctree b/docs/_build/doctrees/General.doctree index 0330d7a7..d8d2986a 100644 Binary files a/docs/_build/doctrees/General.doctree and b/docs/_build/doctrees/General.doctree differ diff --git a/docs/_build/doctrees/Info.doctree b/docs/_build/doctrees/Info.doctree index 60dca009..83d63005 100644 Binary files a/docs/_build/doctrees/Info.doctree and b/docs/_build/doctrees/Info.doctree differ diff --git a/docs/_build/doctrees/Levels.doctree b/docs/_build/doctrees/Levels.doctree index 05de8ebe..a9ae7e7f 100644 Binary files a/docs/_build/doctrees/Levels.doctree and b/docs/_build/doctrees/Levels.doctree differ diff --git a/docs/_build/doctrees/Maintenance.doctree b/docs/_build/doctrees/Maintenance.doctree index 641df0fd..4dda4152 100644 Binary files a/docs/_build/doctrees/Maintenance.doctree and b/docs/_build/doctrees/Maintenance.doctree differ diff --git a/docs/_build/doctrees/Management.doctree b/docs/_build/doctrees/Management.doctree index de72b464..eded920d 100644 Binary files a/docs/_build/doctrees/Management.doctree and b/docs/_build/doctrees/Management.doctree differ diff --git a/docs/_build/doctrees/Moderation.doctree b/docs/_build/doctrees/Moderation.doctree index c8eb39d0..fb2b9949 100644 Binary files a/docs/_build/doctrees/Moderation.doctree and b/docs/_build/doctrees/Moderation.doctree differ diff --git a/docs/_build/doctrees/Modmail.doctree b/docs/_build/doctrees/Modmail.doctree new file mode 100644 index 00000000..61936f56 Binary files /dev/null and b/docs/_build/doctrees/Modmail.doctree differ diff --git a/docs/_build/doctrees/Music.doctree b/docs/_build/doctrees/Music.doctree index dc5aabbf..cf1f6a04 100644 Binary files a/docs/_build/doctrees/Music.doctree and b/docs/_build/doctrees/Music.doctree differ diff --git a/docs/_build/doctrees/NameGame.doctree b/docs/_build/doctrees/NameGame.doctree index ae079469..210aee6f 100644 Binary files a/docs/_build/doctrees/NameGame.doctree and b/docs/_build/doctrees/NameGame.doctree differ diff --git a/docs/_build/doctrees/News.doctree b/docs/_build/doctrees/News.doctree index 094386cc..4bdbf7da 100644 Binary files a/docs/_build/doctrees/News.doctree and b/docs/_build/doctrees/News.doctree differ diff --git a/docs/_build/doctrees/Polls.doctree b/docs/_build/doctrees/Polls.doctree new file mode 100644 index 00000000..5fb6c747 Binary files /dev/null and b/docs/_build/doctrees/Polls.doctree differ diff --git a/docs/_build/doctrees/ProfileMenus.doctree b/docs/_build/doctrees/ProfileMenus.doctree new file mode 100644 index 00000000..5fa00d5c Binary files /dev/null and b/docs/_build/doctrees/ProfileMenus.doctree differ diff --git a/docs/_build/doctrees/QA.doctree b/docs/_build/doctrees/QA.doctree new file mode 100644 index 00000000..e55b6283 Binary files /dev/null and b/docs/_build/doctrees/QA.doctree differ diff --git a/docs/_build/doctrees/Roles.doctree b/docs/_build/doctrees/Roles.doctree index 374aaecb..d16ed683 100644 Binary files a/docs/_build/doctrees/Roles.doctree and b/docs/_build/doctrees/Roles.doctree differ diff --git a/docs/_build/doctrees/Shortcuts.doctree b/docs/_build/doctrees/Shortcuts.doctree new file mode 100644 index 00000000..3736308a Binary files /dev/null and b/docs/_build/doctrees/Shortcuts.doctree differ diff --git a/docs/_build/doctrees/Starboard.doctree b/docs/_build/doctrees/Starboard.doctree index 85689d7b..97579cdf 100644 Binary files a/docs/_build/doctrees/Starboard.doctree and b/docs/_build/doctrees/Starboard.doctree differ diff --git a/docs/_build/doctrees/TBA.doctree b/docs/_build/doctrees/TBA.doctree index 3deb5841..6743535e 100644 Binary files a/docs/_build/doctrees/TBA.doctree and b/docs/_build/doctrees/TBA.doctree differ diff --git a/docs/_build/doctrees/TOA.doctree b/docs/_build/doctrees/TOA.doctree index 4b467397..ed07b5cb 100644 Binary files a/docs/_build/doctrees/TOA.doctree and b/docs/_build/doctrees/TOA.doctree differ diff --git a/docs/_build/doctrees/Teams.doctree b/docs/_build/doctrees/Teams.doctree index 27b8ada5..9216aaf8 100644 Binary files a/docs/_build/doctrees/Teams.doctree and b/docs/_build/doctrees/Teams.doctree differ diff --git a/docs/_build/doctrees/Voice.doctree b/docs/_build/doctrees/Voice.doctree index c0bf96c6..9303a4b0 100644 Binary files a/docs/_build/doctrees/Voice.doctree and b/docs/_build/doctrees/Voice.doctree differ diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index 04f50d7f..f2ce0d0e 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree index 98cd0add..acaf4617 100644 Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ diff --git a/docs/_build/html/.buildinfo b/docs/_build/html/.buildinfo index 1077b262..46a51cb1 100644 --- a/docs/_build/html/.buildinfo +++ b/docs/_build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: d7eb55a8d4e28a49a1538fb238b4ee71 +config: ba04dc7131cc0f76e19b97e4ada22fdd tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_build/html/Actionlog.html b/docs/_build/html/Actionlog.html index ac00f8cb..b219dd7d 100644 --- a/docs/_build/html/Actionlog.html +++ b/docs/_build/html/Actionlog.html @@ -4,11 +4,12 @@ - + + Actionlog — Dozer documentation - - - + + + @@ -32,16 +33,16 @@
-
+

Actionlog

-
+

messagelogconfig

Set the modlog channel for a server by passing the channel id

`{prefix}messagelogconfig #orwellian-dystopia` - set a channel named #orwellian-dystopia to log message edits/deletions
 
-
-
+
+

memberlogconfig

Command group to configure Join/Leave logs

`{prefix}memberlogconfig setchannel channel`: Sets the member log channel
@@ -51,46 +52,55 @@ 

memberlogconfig -

setjoinmessage

-

Configure custom join message template

-

-
-

help

-

Displays message formatting key

-
-
+help +++++ +Displays message formatting key

+
+

toggleping

Toggles whenever a new member gets pinged on join

-
-
+ +
+

setleavemessage

+

Configure custom leave message template

+
+
+

viewconfig

+

Command to view Join/Leave logs configuration.

+
+
+

togglesendonverify

+

Toggles if a join log is sent on user joining or on completing +verification

+
+

disable

Disables Join/Leave logging

-
-
+ +

setchannel

Configure join/leave channel

-
-
+ +
+

setjoinmessage

+

Configure custom join message template

+
+

locknickname

Locks a members nickname to a particular string, in essence revoking nickname change perms

`{prefix}locknickname @Snowplow#5196 Dozer`: Locks user snowplows nickname to "dozer"
 
-
-
+ +

unlocknickname

Removes nickname lock from member

`{prefix}unlocknickname @Snowplow#5196`: Removes nickname lock from user dozer
 
-
-
+ + @@ -109,16 +119,18 @@

Dozer

Navigation

-

Contents:

+

Contents:

  • Actionlog @@ -135,6 +147,7 @@

    Navigation

  • NameGame
  • News
  • Roles
  • +
  • Shortcuts
  • Starboard
  • TBA
  • Teams
  • @@ -155,7 +168,7 @@

    Related Topics

    Quick search

    @@ -174,10 +187,10 @@

    Quick search

    @@ -82,7 +83,7 @@

    Dozer

    Navigation

    -

    Contents:

    +

    Contents:

    • Actionlog
    • Development
    • @@ -103,6 +104,7 @@

      Navigation

    • NameGame
    • News
    • Roles
    • +
    • Shortcuts
    • Starboard
    • TBA
    • Teams
    • @@ -123,7 +125,7 @@

      Related Topics

      Quick search

      @@ -142,10 +144,10 @@

      Quick search

      - + + @@ -169,7 +174,7 @@

      Dozer

      Navigation

      -

      Contents:

      +

      Contents:

      @@ -202,6 +208,7 @@

      Navigation

    • NameGame
    • News
    • Roles
    • +
    • Shortcuts
    • Starboard
    • TBA
    • Teams
    • @@ -222,7 +229,7 @@

      Related Topics

      Quick search

      @@ -241,10 +248,10 @@

      Quick search

      + + @@ -76,7 +77,7 @@

      Dozer

      Navigation

      -

      Contents:

      +

      Contents:

      • Actionlog
      • Development
      • @@ -96,6 +97,7 @@

        Navigation

      • NameGame
      • News
      • Roles
      • +
      • Shortcuts
      • Starboard
      • TBA
      • Teams
      • @@ -116,7 +118,7 @@

        Related Topics

        Quick search

        @@ -135,10 +137,10 @@

        Quick search

        @@ -78,7 +79,7 @@

        Dozer

        Navigation

        -

        Contents:

        +

        Contents:

        • Actionlog
        • Development
        • @@ -93,6 +94,7 @@

          Navigation

        • NameGame
        • News
        • Roles
        • +
        • Shortcuts
        • Starboard
        • TBA
        • Teams
        • @@ -111,7 +113,7 @@

          Related Topics

          Quick search

          @@ -130,10 +132,10 @@

          Quick search

          @@ -218,7 +236,7 @@

          Dozer

          Navigation

          -

          Contents:

          +

          Contents:

        • Music
        • NameGame
        • News
        • Roles
        • +
        • Shortcuts
        • Starboard
        • TBA
        • Teams
        • @@ -274,7 +296,7 @@

          Related Topics

          Quick search

          @@ -293,10 +315,10 @@

          Quick search

          @@ -161,7 +162,7 @@

          Dozer

          Navigation

          -

          Contents:

          +

          Contents:

          • Actionlog
          • Development
          • @@ -191,6 +192,7 @@

            Navigation

          • NameGame
          • News
          • Roles
          • +
          • Shortcuts
          • Starboard
          • TBA
          • Teams
          • @@ -211,7 +213,7 @@

            Related Topics

            Quick search

            @@ -230,10 +232,10 @@

            Quick search