Skip to content

Commit

Permalink
Add to bot list
Browse files Browse the repository at this point in the history
  • Loading branch information
irismessage committed Oct 31, 2021
1 parent 9194c9e commit 80f6206
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 1 addition & 3 deletions snakeboxed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@
# stackoverflow error search
# todo: allow .py text files as eval input
# todo: allow message links as eval input
# todo: lazy log formatting? ehhhh
# todo: create privileged eval command for owner only
# todo: docker image
# todo: setup.py
# todo: list on discord bot websites


__version__ = '1.6.5'
__version__ = '1.6.6'


CONFIG_PATH = Path('config.toml')
Expand Down
10 changes: 10 additions & 0 deletions snakeboxed/cogs/snakeboxed_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

GITHUB_LINK = 'https://github.com/JMcB17/snakeboxed'
CREATOR_DISCORD_NAME = 'JMcB#7918'
BOT_LIST_NAME = 'snakeboxed'
BOT_PERMISSIONS = {
'read_messages': True,
'send_messages': True,
Expand Down Expand Up @@ -51,6 +52,15 @@ async def send_bug_report_links(self, ctx: commands.Context):
)
return await ctx.send(bug_report_msg)

@commands.command()
async def vote(self, ctx: commands.Context):
"""Upvote the bot. Completely optional.
Not on top.gg because they try to make you watch ads to vote.
Might take it off discordbotlist.com because they accept crypto related bots.
"""
return await ctx.send(f'https://discordbotlist.com/bots/{BOT_LIST_NAME}/upvote')

@commands.command(name='version', aliases=['V'])
async def send_version_number(self, ctx: commands.Context):
"""Send the current version number for this bot."""
Expand Down

0 comments on commit 80f6206

Please sign in to comment.