MCPcopy Create free account

hub / github.com/Person314159/cs221bot / functions

Functions168 in github.com/Person314159/cs221bot

Methoddie
(self, ctx: commands.Context)
cogs/meta.py:17
Methoddraw_bst
(root: Node)
cogs/tree.py:138
Methoddue_day
(self)
util/canvas_handler.py:109
Methoddue_week
(self)
util/canvas_handler.py:101
Methodemojify
`!emojify` __`Emoji text generator`__ **Usage:** !emojify <text> **Examples:** `!emojify hello` prints "hello" with
cogs/commands.py:61
Methodensure_voice_state
(self, ctx: commands.Context)
cogs/music.py:550
Methodfilter_tag
Sorts posts by instructor or student and append it to the respective array of posts
util/piazza_handler.py:303
Methodget_embeds
Returns a list of Discord embeds to send to live channels.
cogs/canvas.py:458
Methodget_field_value
This function returns a string that can be added to a Discord embed as a field's value. The returned string contains the modu
cogs/canvas.py:391
Methodget_node
(num: int)
cogs/tree.py:124
Methodget_recent_notes
Fetches `fetch_min` posts, filters out non-important (not instructor notes or pinned) posts and returns an array of corresponding pos
util/piazza_handler.py:327
Methodguild
(self)
util/piazza_handler.py:92
Methodguild
(self)
util/canvas_handler.py:77
Methodhelp
`!help` __`Returns list of commands or usage of command`__ **Usage:** !help [optional cmd] **Examples:** `!help` [e
cogs/meta.py:22
Methodinfo
(self, ctx: commands.Context)
cogs/canvas.py:260
Methodinsert
(subroot: Node, num: int)
cogs/tree.py:69
Methodjoinrole
`!joinrole` __`Adds a role to yourself`__ **Usage:** !joinrole [role name] **Examples:** `!joinrole Study Group` ad
cogs/commands.py:81
Methodlatex
`!latex` __`LaTeX equation render`__ **Usage:** !latex <equation> **Examples:** `!latex $\\frac{a}{b}$` [img]
cogs/commands.py:137
Methodleave
`!leave` __`Leaves voice channel`__ **Aliases**: l **Usage:** !leave **Examples:** `!leave` leaves the curr
cogs/music.py:289
Methodleaverole
`!leaverole` __`Removes an existing role from yourself`__ **Usage:** !leave [role name] **Examples:** `!leaverole S
cogs/commands.py:158
Methodlive
`!live` Enables course tracking for the channel the command is invoked in.
cogs/canvas.py:154
Methodlive_channels
(self)
util/canvas_handler.py:85
Methodloop
(self)
cogs/music.py:205
Methodloop
`!loop` __`Loops current song`__ **Usage:** !loop **Examples:** `!loop` loops current song
cogs/music.py:308
Functionon_command_error
(ctx: commands.Context, error: commands.CommandError)
cs221bot.py:108
Functionon_message
(message: discord.Message)
cs221bot.py:78
Functionon_message_edit
(before: discord.Message, after: discord.Message)
cs221bot.py:73
Functionon_ready
()
cs221bot.py:62
Methodpause
`!pause` __`Pause song`__ **Usage:** !pause **Examples:** `!pause` pauses current song
cogs/music.py:341
Methodpiazza_handler
(self)
util/discord_handler.py:30
Methodpiazza_id
(self)
util/piazza_handler.py:84
Methodpiazza_url
(self)
util/piazza_handler.py:68
Methodpinit
`!pinit` _ `course name` _ _ `piazza id` _ **Usage:** !pinit <course name> <piazza id> **Examples:** `!pinit CPSC22
cogs/piazza.py:41
Methodplay_next_song
(self, error=None)
cogs/music.py:245
Methodpoll
`!poll` __`Poll generator`__ **Usage:** !poll <question | check | end> | <option> | <option> | [option] | [...] **Examples:
cogs/commands.py:189
Methodppinned
`!ppinned` **Usage:** !ppinned **Examples:** `!ppinned` sends a list of the Piazza's pinned posts to the calling ch
cogs/piazza.py:116
Methodpread
`!pread` __`post id`__ **Usage:** !pread <post id> **Examples:** `!pread 828` returns an embed with the [post](http
cogs/piazza.py:143
Methodptest
`!ptest` **Usage:** !ptest **Examples:** `!ptest` simulates a single call of `send_pupdate` to ensure the set-up wa
cogs/piazza.py:168
Methodptrack
`!ptrack` __`Tracks Piazza posts in channel`__ **Usage:** !ptrack **Examples:** `!ptrack` adds the current channel'
cogs/piazza.py:70
Methodpuntrack
`!puntrack` __`Untracks Piazza posts in channel`__ **Usage:** !puntrack **Examples:** `!puntrack` removes the curre
cogs/piazza.py:93
Methodpurge
`!purge` __`purges all messages satisfying conditions from the last specified number of messages in channel.`__ Usage: !purge <amoun
cogs/commands.py:293
Methodqueue
`!queue` __`Song queue`__ **Aliases:** q **Usage:** !queue **Examples:** `!queue` shows current queue
cogs/music.py:393
Methodreload
(self, ctx: commands.Context, *modules: str)
cogs/meta.py:55
Methodremove
(self, index: int)
cogs/music.py:184
Methodrender_board
(board: chess.Board)
cogs/games.py:47
Methodresume
`!resume` __`Resume song`__ **Usage:** !resume **Examples:** `!resume` resumes current song
cogs/music.py:443
Functionsetup
(bot: commands.Bot)
cogs/serverstats.py:72
Functionsetup
(bot: commands.Bot)
cogs/meta.py:75
Functionsetup
(bot: commands.Bot)
cogs/commands.py:485
Functionsetup
(bot: commands.Bot)
cogs/tree.py:254
Functionsetup
(bot: commands.Bot)
cogs/games.py:94
Functionsetup
(bot: commands.Bot)
cogs/piazza.py:252
Functionsetup
(bot: commands.Bot)
cogs/canvas.py:534
Functionsetup
(bot: commands.Bot)
cogs/music.py:559
Methodshuffle
(self)
cogs/music.py:181
Methodshut
(self, ctx: commands.Context)
cogs/commands.py:373
Methodskip
(self)
cogs/music.py:251
Methodskip
`!skip` __`Skip song`__ **Aliases:** s **Usage:** !skip **Examples:** `!skip` skips current song *
cogs/music.py:477
Methodtimings
(self)
util/canvas_handler.py:93
Methodtrack
`!track <course IDs...>` Add the courses with given IDs to the list of courses being tracked. Note that you will only receiv
cogs/canvas.py:50
Methodunlive
`!unlive` Disables course tracking for the channel the command is invoked in.
cogs/canvas.py:189
Methoduntrack
`!untrack <course IDs...>` Remove the courses with given IDs from the list of courses being tracked.
cogs/canvas.py:87
Methodupdate_embed
Adds a field to embed containing information about given module. The field includes the module's name or title, as well as a
cogs/canvas.py:413
Methoduserstats
`!userstats` __`Check user profile and stats`__ **Usage:** !userstats [USER] **Examples:** `!userstats abc#1234` [e
cogs/commands.py:396
Methodvolume
(self)
cogs/music.py:213
Methodvolume
`!volume` __`Change volume`__ **Usage:** !volume <volume %> **Examples:** `!volume 5` changes volume to 5%
cogs/music.py:530
Methodvotes
`!votes` __`Top votes for server icon`__ **Usage:** !votes **Examples:** `!votes` returns top 5 icons sorted by sco
cogs/commands.py:443
Methodwrite_modules
Stores the ID of all modules in file with given path.
cogs/canvas.py:449
← previous101–168 of 168, ranked by callers