You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
435 B
Python
17 lines
435 B
Python
from discord import Intents, Streaming
|
|
from discord.ext.commands import Context, Bot
|
|
|
|
from exclamation_mark_charity import BOT_PREFIX, BOT_TOKEN
|
|
|
|
bot = Bot(command_prefix=BOT_PREFIX, intents=Intents.all())
|
|
bot.activity = Streaming(name="!charity", url="https://www.twitch.tv/exclamation_mark_charity")
|
|
|
|
|
|
@bot.command()
|
|
async def charity(ctx: Context):
|
|
await ctx.send("!charity")
|
|
|
|
|
|
if __name__ == '__main__':
|
|
bot.run(BOT_TOKEN)
|