blob: b0e7a8a098d127bf24dfec0511f1ea66c7ac0107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
from discord.ext import commands
import discord
import importlib
import utils
importlib.reload(utils)
class Invite(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(aliases=[], application_command_meta=commands.ApplicationCommandMeta(options=[]))
async def invite(self, ctx, *arg):
"""Invite me to another server!"""
emb = await utils.embed(ctx,
"Invite Link:",
"[Invite Synthy to join your server.](https://discordapp.com/oauth2/authorize?client_id=459056626377293824&scope=bot&permissions=335932512)")
await ctx.send(embed=emb)
def setup(bot):
print("INFO: Loading [Invite]... ", end="")
bot.add_cog(Invite(bot))
print("Done!")
def teardown(bot):
print("INFO: Unloading [Invite]")
|