diff --git a/.env.sample b/.env.sample index f74c661..1eb9935 100644 --- a/.env.sample +++ b/.env.sample @@ -1 +1,2 @@ -TOKEN= \ No newline at end of file +TOKEN= +PREFIX=! \ No newline at end of file diff --git a/command.py b/command.py index cc04c6c..741a51b 100644 --- a/command.py +++ b/command.py @@ -1,7 +1,7 @@ from discord.ext import commands from os import getenv -bot = commands.Bot(command_prefix='@') +bot = commands.Bot(command_prefix=getenv("PREFIX")) @bot.command() @@ -15,4 +15,3 @@ def main(): if __name__ == "__main__": main() - \ No newline at end of file