add empty bot to clear commands.

This commit is contained in:
Aaron Riedel 2022-02-01 11:34:51 +01:00
parent 759af6b98b
commit 0b2dfca4dd

22
clear_commands.py Normal file
View file

@ -0,0 +1,22 @@
import discord
import os
from os import system
from os import environ
from discord.ext import commands
intents = discord.Intents(
guilds=True,
members=True,
messages=True,
)
token = os.environ['TOKEN']
prefix = os.environ['PREFIX']
bot = commands.Bot(intents=intents, command_prefix=prefix)
client = discord.Client()
@bot.event
async def on_ready():
print("Bot ready on Version %s..." % discord.__version__)
bot.run(token)