SYMBOL INDEX (247 symbols across 34 files) FILE: api/dependencies.py function auth_dep (line 18) | def auth_dep(authorization: str = Header(...)): function aiohttp_session (line 23) | async def aiohttp_session(): function state_check (line 31) | def state_check(request: Request, state: str = Query(...)) -> int: function db_connection (line 61) | async def db_connection(): FILE: api/exceptions.py class CustomHTTPException (line 1) | class CustomHTTPException(Exception): method __init__ (line 2) | def __init__(self, response): FILE: api/main.py function custom_http_exception_handler (line 18) | def custom_http_exception_handler(request: Request, exc: CustomHTTPExcep... FILE: api/routers/oauth.py function stackexchange_oauth (line 45) | async def stackexchange_oauth( function github_oauth (line 69) | async def github_oauth( FILE: api/routers/webhooks.py function send_meme (line 38) | def send_meme(webhook: Webhook, subreddits: List[str]) -> bool: function send_memes (line 53) | def send_memes(webhook: Webhook, subreddits: Iterable[str], quantity: int): function send_memes_route (line 69) | def send_memes_route(): function git_tip (line 79) | async def git_tip(session: ClientSession = Depends(aiohttp_session)): FILE: bot/bot.py class TechStruckBot (line 30) | class TechStruckBot(commands.Bot): method __init__ (line 33) | def __init__(self, *, tortoise_config, load_extensions=True, loadjsk=T... method session (line 72) | def session(self) -> ClientSession: method connect_db (line 76) | async def connect_db(self): method load_extensions (line 82) | def load_extensions(self, extentions: Iterable[str]): method on_message (line 89) | async def on_message(self, msg: Message): method on_command_error (line 101) | async def on_command_error( method get_custom_prefix (line 192) | async def get_custom_prefix(self, _, message: Message) -> str: method fetch_prefix (line 205) | async def fetch_prefix(self, message: Message) -> str: method on_ready (line 219) | async def on_ready(self): FILE: bot/cogs/admin.py class Admin (line 7) | class Admin(commands.Cog): method __init__ (line 8) | def __init__(self, bot: commands.Bot): method _refresh (line 11) | async def _refresh(self, ctx: commands.Context, filename: str, channel... method refresh (line 21) | async def refresh(self, ctx: commands.Context): method refresh_roles (line 25) | async def refresh_roles(self, ctx: commands.Context): method refresh_rules (line 29) | async def refresh_rules(self, ctx: commands.Context): function setup (line 33) | def setup(bot: commands.Bot): FILE: bot/cogs/brainfeed.py class UnknownBrainfeed (line 13) | class UnknownBrainfeed(commands.CommandError): method __str__ (line 14) | def __str__(self) -> str: class BrainFeed (line 18) | class BrainFeed(commands.Cog): method __init__ (line 21) | def __init__(self, bot: TechStruckBot): method brainfeed (line 26) | async def brainfeed(self, ctx: commands.Context): method submission_channel (line 31) | def submission_channel(self) -> TextChannel: method add (line 38) | async def add(self, ctx: commands.Context, **kwargs): method get_submission (line 76) | async def get_submission(self, bf_id) -> Embed: method view (line 89) | async def view(self, ctx: commands.Context, id: int): method send (line 101) | async def send(self, ctx: commands.Context, bf_id: int, **kwargs): method approve (line 124) | async def approve(self, ctx: commands.Context, *, id: int): method deny (line 136) | async def deny(self, ctx: commands.Context, *, id: int): function setup (line 147) | def setup(bot: TechStruckBot): FILE: bot/cogs/coc.py class ClashOfCode (line 20) | class ClashOfCode(commands.Cog): method __init__ (line 21) | def __init__(self, bot): method on_ready (line 29) | async def on_ready(self): method role (line 33) | def role(self): method em (line 36) | def em(self, mode, players): method on_raw_reaction_add (line 43) | async def on_raw_reaction_add(self, payload: discord.RawReactionAction... method on_raw_reaction_remove (line 65) | async def on_raw_reaction_remove(self, payload: discord.RawReactionAct... method clash_of_code (line 90) | async def clash_of_code(self, ctx: commands.Context): method session (line 97) | async def session(self, ctx: commands.Context): method session_start (line 106) | async def session_start(self, ctx: commands.context): method session_join (line 164) | async def session_join(self, ctx: commands.Context): method session_leave (line 181) | async def session_leave(self, ctx: commands.Context): method session_end (line 198) | async def session_end(self, ctx: commands.context): method coc_invite (line 231) | async def coc_invite(self, ctx: commands.Context, *, url: str = None): function setup (line 342) | def setup(bot: TechStruckBot): FILE: bot/cogs/code_exec.py function create_guest_paste_bin (line 10) | async def create_guest_paste_bin(session, code): class CodeExec (line 25) | class CodeExec(commands.Cog): method __init__ (line 26) | def __init__(self, bot: commands.Bot): method session (line 32) | def session(self): method _run_code (line 35) | async def _run_code(self, *, lang: str, code: str): method run (line 43) | async def run(self, ctx: commands.Context, *, codeblock: str): method runl (line 69) | async def runl(self, ctx: commands.Context, lang: str, *, code: str): method _send_result (line 76) | async def _send_result(self, ctx: commands.Context, result: dict): function setup (line 99) | def setup(bot: commands.Bot): FILE: bot/cogs/fun.py class Fun (line 9) | class Fun(commands.Cog): method __init__ (line 12) | def __init__(self, bot: TechStruckBot): method beer (line 16) | async def beer( method beers (line 51) | async def beers( method beerparty (line 101) | async def beerparty( function setup (line 127) | def setup(bot: TechStruckBot): FILE: bot/cogs/github.py class GithubNotLinkedError (line 20) | class GithubNotLinkedError(commands.CommandError): method __str__ (line 21) | def __str__(self): class InvalidTheme (line 25) | class InvalidTheme(commands.CommandError): method __str__ (line 26) | def __str__(self): class Github (line 30) | class Github(commands.Cog): method __init__ (line 33) | def __init__(self, bot: commands.Bot): method session (line 40) | def session(self): method cog_before_invoke (line 43) | async def cog_before_invoke(self, ctx: commands.Context): method link_github (line 57) | async def link_github(self, ctx: commands.Context): method gist (line 83) | async def gist(self, ctx: commands.Context): method create_gist (line 88) | async def create_gist(self, ctx: commands.Context, *, inp: Optional[st... method list_gist (line 128) | async def list_gist(self, ctx: commands.Context): method delete_gist (line 148) | async def delete_gist(self, ctx: commands.Context, *, gist_id: str): method github_search (line 162) | async def github_search(self, ctx: commands.Context, *, term: str): method github_stats (line 201) | async def github_stats( method github_top_languages (line 224) | async def github_top_languages( method get_file_from_svg_url (line 238) | async def get_file_from_svg_url( method process_theme (line 250) | def process_theme(self, theme): method repo_desc_format (line 257) | def repo_desc_format(result): method github_request (line 263) | async def github_request( method get_gh_user (line 279) | async def get_gh_user(self, ctx: commands.Context): function setup (line 284) | def setup(bot: commands.Bot): FILE: bot/cogs/help_command.py class HelpCommand (line 9) | class HelpCommand(commands.HelpCommand): method get_ending_note (line 17) | def get_ending_note(self): method get_command_signature (line 22) | def get_command_signature(self, command): method send_bot_help (line 25) | async def send_bot_help(self, mapping): method send_cog_help (line 47) | async def send_cog_help(self, cog): method send_group_help (line 66) | async def send_group_help(self, group): method add_support_server (line 83) | def add_support_server(self, embed): method send_command_help (line 86) | async def send_command_help(self, command): function setup (line 97) | def setup(bot: commands.Bot): function teardown (line 102) | def teardown(bot): FILE: bot/cogs/joke.py class Joke (line 15) | class Joke(commands.Cog): method __init__ (line 18) | def __init__(self, bot: commands.Bot): method joke (line 22) | async def joke(self, ctx: commands.Context): method add (line 28) | async def add(self, ctx: commands.Context): method joke_entries_channel (line 59) | def joke_entries_channel(self) -> TextChannel: method _get_input (line 62) | async def _get_input(self, ctx: commands.Context, title: str, descript... method reaction_listener (line 75) | async def reaction_listener(self, payload: RawReactionActionEvent): function setup (line 93) | def setup(bot: commands.Bot): FILE: bot/cogs/packages.py class Packages (line 7) | class Packages(Cog): method __init__ (line 10) | def __init__(self, bot: TechStruckBot): method session (line 14) | def session(self): method get_package (line 17) | async def get_package(self, url: str): method pypisearch (line 21) | async def pypisearch(self, ctx: Context, arg: str): method npmsearch (line 70) | async def npmsearch(self, ctx: Context, arg: str): method crate (line 134) | async def crate(self, ctx: Context, arg: str): function setup (line 197) | def setup(bot: TechStruckBot): FILE: bot/cogs/quiz.py class Quiz (line 8) | class Quiz(commands.Cog): method __init__ (line 9) | def __init__(self, bot: commands.Bot): method startquiz (line 14) | async def startquiz(self, ctx: commands.Context): function setup (line 58) | def setup(bot: commands.Bot): FILE: bot/cogs/rtfm.py class RTFM (line 11) | class RTFM(commands.Cog): method __init__ (line 66) | def __init__(self, bot: TechStruckBot) -> None: method session (line 71) | def session(self) -> aiohttp.ClientSession: method build (line 74) | async def build(self, target) -> None: method rtfm (line 91) | async def rtfm(self, ctx: commands.Context, doc: str, *, term: str = N... method list_targets (line 127) | async def list_targets(self, ctx: commands.Context): method add_target (line 150) | async def add_target(self, ctx: commands.Context, **kwargs): function setup (line 171) | def setup(bot: TechStruckBot): FILE: bot/cogs/stackexchange.py class StackExchangeNotLinkedError (line 22) | class StackExchangeNotLinkedError(commands.CommandError): method __str__ (line 23) | def __str__(self): class StackExchangeError (line 27) | class StackExchangeError(commands.CommandError): class Stackexchange (line 31) | class Stackexchange(commands.Cog): method __init__ (line 34) | def __init__(self, bot: commands.Bot): method session (line 42) | def session(self): method load_sites (line 46) | async def load_sites(self): method cog_check (line 69) | async def cog_check(self, ctx: commands.Context): method cog_before_invoke (line 74) | async def cog_before_invoke(self, ctx: commands.Context): method stack_profile (line 93) | async def stack_profile(self, ctx: commands.Context, **kwargs): method stackexchange_search (line 128) | async def stackexchange_search(self, ctx: commands.Context, **kwargs): method stacksite (line 166) | async def stacksite(self, ctx: commands.Context, *, term: str): method get_site (line 176) | def get_site(self, sitename: str): method stack_request (line 183) | async def stack_request( method link_stackoverflow (line 207) | async def link_stackoverflow(self, ctx: commands.Context): function setup (line 234) | def setup(bot: commands.Bot): FILE: bot/cogs/thank.py class Thank (line 21) | class Thank(commands.Cog): method __init__ (line 24) | def __init__(self, bot: commands.Bot): method thank (line 29) | async def thank(self, ctx: commands.Context, recv: Member, *, descript... method thank_stats (line 66) | async def thank_stats( method thank_leaderboard (line 92) | async def thank_leaderboard(self, ctx: commands.Context): method delete_thank (line 126) | async def delete_thank(self, ctx: commands.Context, thank_id: int): method list_thanks (line 154) | async def list_thanks(self, ctx: commands.Context, member: Member): function setup (line 171) | def setup(bot: commands.Bot): FILE: bot/cogs/utils.py function maybe_await (line 21) | async def maybe_await(coro): class Utils (line 27) | class Utils(commands.Cog): method __init__ (line 30) | def __init__(self, bot: TechStruckBot): method embed (line 44) | async def embed(self, ctx: commands.Context, **kwargs): method rawembed (line 109) | async def rawembed(self, ctx: commands.Context): method source (line 123) | async def source(self, ctx: commands.Context, *, command=None): function setup (line 168) | def setup(bot: TechStruckBot): function teardown (line 172) | def teardown(bot: TechStruckBot): FILE: bot/core.py class Common (line 14) | class Common(commands.Cog): method __init__ (line 15) | def __init__(self, bot: TechStruckBot): method ping (line 19) | async def ping(self, ctx: commands.Context): method stats (line 27) | async def stats(self, ctx: commands.Context): method redo (line 52) | async def redo(self, ctx: commands.Context): method setprefix (line 68) | async def setprefix(self, ctx: commands.Context, *, prefix: str): method prefix (line 77) | async def prefix(self, ctx: commands.Context): method invite (line 86) | async def invite(self, ctx: commands.Context): function setup (line 95) | def setup(bot: TechStruckBot): FILE: bot/utils/embed_flag_input.py class InvalidFieldArgs (line 14) | class InvalidFieldArgs(commands.CommandError): class EmbeyEmbedError (line 18) | class EmbeyEmbedError(commands.CommandError): method __str__ (line 19) | def __str__(self) -> str: class InvalidUrl (line 23) | class InvalidUrl(commands.CommandError): method __init__ (line 24) | def __init__(self, invalid_url: str, *, https_only: bool = False) -> N... method __str__ (line 28) | def __str__(self) -> str: class InvalidColor (line 35) | class InvalidColor(commands.CommandError): method __init__ (line 36) | def __init__(self, value) -> None: method __str__ (line 39) | def __str__(self): class UrlValidator (line 43) | class UrlValidator: method __init__ (line 44) | def __init__(self, *, https_only=False) -> None: method __call__ (line 47) | def __call__(self, value): function colortype (line 55) | def colortype(value: str): function process_message_mentions (line 65) | def process_message_mentions(message: str) -> str: class FlagAdder (line 78) | class FlagAdder: method __init__ (line 79) | def __init__(self, kwarg_map: Dict[str, Iterable], *, default_mode: bo... method call (line 83) | def call(self, func: _F, **kwargs) -> _F: method __call__ (line 94) | def __call__(self, func=None, **kwargs): method apply (line 99) | def apply(self, *, flags: Iterable, func: _F) -> _F: function dict_to_embed (line 168) | def dict_to_embed(data: Dict[str, str], author: Union[User, Member] = No... function dict_to_allowed_mentions (line 210) | def dict_to_allowed_mentions(data): FILE: bot/utils/fuzzy.py function ratio (line 16) | def ratio(a, b): function quick_ratio (line 21) | def quick_ratio(a, b): function partial_ratio (line 26) | def partial_ratio(a, b): function _sort_tokens (line 49) | def _sort_tokens(a): function token_sort_ratio (line 54) | def token_sort_ratio(a, b): function quick_token_sort_ratio (line 60) | def quick_token_sort_ratio(a, b): function partial_token_sort_ratio (line 66) | def partial_token_sort_ratio(a, b): function _extraction_generator (line 72) | def _extraction_generator(query, choices, scorer=quick_ratio, score_cuto... function extract (line 85) | def extract(query, choices, *, scorer=quick_ratio, score_cutoff=0, limit... function extract_one (line 93) | def extract_one(query, choices, *, scorer=quick_ratio, score_cutoff=0): function extract_or_exact (line 103) | def extract_or_exact(query, choices, *, limit=None, scorer=quick_ratio, ... function extract_matches (line 123) | def extract_matches(query, choices, *, scorer=quick_ratio, score_cutoff=0): function finder (line 148) | def finder(text, collection, *, key=None, lazy=True): function find (line 170) | def find(text, collection, *, key=None): FILE: bot/utils/process_files.py class NoValidFiles (line 9) | class NoValidFiles(commands.CommandError): method __str__ (line 10) | def __str__(self): function process_files (line 14) | async def process_files( FILE: bot/utils/rtfm.py class SphinxObjectFileReader (line 11) | class SphinxObjectFileReader: method __init__ (line 15) | def __init__(self, buffer): method readline (line 18) | def readline(self): method skipline (line 21) | def skipline(self): method read_compressed_chunks (line 24) | def read_compressed_chunks(self): method read_compressed_lines (line 33) | def read_compressed_lines(self): method parse_object_inv (line 43) | def parse_object_inv(self, url): FILE: config/bot.py class BotConfig (line 4) | class BotConfig(BaseSettings): class Config (line 9) | class Config: FILE: config/common.py class Settings (line 4) | class Settings(BaseSettings): class Config (line 10) | class Config: FILE: config/oauth.py class StackOAuthConfig (line 4) | class StackOAuthConfig(BaseSettings): class Config (line 10) | class Config: class GithubOAuthConfig (line 15) | class GithubOAuthConfig(BaseSettings): class Config (line 20) | class Config: FILE: config/reddit.py class RedditConfig (line 4) | class RedditConfig(BaseSettings): class Config (line 10) | class Config: FILE: config/webhook.py class Webhooks (line 4) | class Webhooks(BaseSettings): class Config (line 9) | class Config: FILE: models.py class ThankModel (line 4) | class ThankModel(Model): class Meta (line 24) | class Meta: class GuildModel (line 29) | class GuildModel(Model): class Meta (line 36) | class Meta: class UserModel (line 41) | class UserModel(Model): class Meta (line 56) | class Meta: class JokeModel (line 61) | class JokeModel(Model): class Meta (line 78) | class Meta: FILE: utils/db_backup.py function backup (line 10) | async def backup(): function main (line 20) | def main(): FILE: utils/embed.py function build_embed (line 7) | def build_embed(embed_data, add_timestamp=False): function bot_type_converter (line 36) | def bot_type_converter(data, add_timestamp=False): function webhook_type_converter (line 49) | def webhook_type_converter(data, add_timestamp=False): function yaml_file_to_message (line 66) | def yaml_file_to_message(filename: str, **kwargs): FILE: utils/webhook.py function make_webhook (line 8) | def make_webhook(url: str, adapter=RequestsWebhookAdapter()): function send_from_yaml (line 12) | def send_from_yaml(