Commit 15b0d434 authored by will9183's avatar will9183
Browse files

Change variables for self hosting

Changes variables so I could self host the bot.
parent 5236ea83
......@@ -161,14 +161,8 @@ class Miscellaneous(commands.Cog):
@commands.command(aliases=['add', 'join'])
@commands.cooldown(rate=1, per=5, type=commands.BucketType.channel)
async def invite(self, ctx):
"""Add me to your server!"""
perms = discord.Permissions()
perms.manage_roles = True
perms.view_channel = True
perms.send_messages = True
perms.embed_links = True
oauth_url = discord.utils.oauth_url(str(ctx.bot.user.id), perms)
await ctx.send(f"You can invite me to your server with <{oauth_url}>!")
"""Add me to your server NOT!"""
await ctx.send("Please DM Will9183 for a link!")
def setup(bot):
......
......@@ -3,15 +3,15 @@ CONSTANTS = { # meta bot data that generally shouldn't be translated or changed
'join_channel': 'semicolon_joins',
'message_channel': 'semicolon_messages',
'data_folder': 'data',
'chip': 381941901462470658,
'chip': 741770822896844891, #not chip but bot testing server because it is
'max_pokemon': 807,
'pkmn_sprites_dir': 'pkmn_sprites',
'emojis': { # from Bot-Moji: https://discord.gg/SyKBWjP
"JOIN": ['<:enter:465369329836228618>', '\N{BLACK RIGHTWARDS ARROW}'],
"LEAVE": ['<:quit:465369329324523542>', '\N{AIRPLANE DEPARTURE}'],
"BAN": ['<:banned:683597796955258906>', '\N{HAMMER}'],
"UNBAN": ['<:unbanned:683597796980424734>', '\N{OPEN LOCK}'],
"RATELIMIT": ['<:refresh:465369330323030016>', '\N{CLOCK FACE THREE OCLOCK}'],
"JOIN": ['<:enter:741780026114179072>', '\N{BLACK RIGHTWARDS ARROW}'],
"LEAVE": ['<:quit:741780026223231098>', '\N{AIRPLANE DEPARTURE}'],
"BAN": ['<:banned:741780025891881063>', '\N{HAMMER}'],
"UNBAN": ['<:unbanned:741780025740886148>', '\N{OPEN LOCK}'],
"RATELIMIT": ['<:refresh:741780025975767060>', '\N{CLOCK FACE THREE OCLOCK}'],
"NEW_JOIN": "\N{CLOCK FACE THREE OCLOCK} ",
"DM_SENT": '\N{OPEN MAILBOX WITH RAISED FLAG}'
},
......@@ -32,7 +32,8 @@ CONSTANTS = { # meta bot data that generally shouldn't be translated or changed
i18n = {
# utils/bot.py: meta text, errors, etc
'description': '''Collection of various tools for entertainment, moderation, and more.
Created by lexikiq#0493 (140564059417346049)''',
Created by lexikiq#0493
Hosted by will9183#9097''',
'error': 'ERROR: ',
'error_dm': "{0} {1} by {2} running `{3}`:```{4}```",
'guild_exclusive': "This command is only enabled on {}.",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment