2021-08-26 01:49:17 +00:00
|
|
|
from discord.ext import commands
|
|
|
|
from os import getenv
|
|
|
|
|
2021-08-26 02:04:33 +00:00
|
|
|
bot = commands.Bot(command_prefix=getenv("PREFIX"))
|
2021-08-26 01:49:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
@bot.command()
|
|
|
|
async def echo(ctx, arg):
|
|
|
|
print(arg)
|
|
|
|
await ctx.send(arg)
|
|
|
|
|
|
|
|
def main():
|
|
|
|
bot.run(getenv("TOKEN"))
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|
|
|
|
|