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.
exclamation-mark-charity/exclamation_mark_charity/runner.py

22 lines
506 B
Python

from discord import Intents, Streaming
from discord.ext.commands import Context, Bot
from exclamation_mark_charity import BOT_PREFIX, BOT_TOKEN, HAMMY, NUGGS, LUCA, TWITCH_CHANNEL
bot = Bot(
command_prefix=BOT_PREFIX,
intents=Intents.all(),
help_command=None,
owner_ids=(HAMMY, NUGGS, LUCA)
)
bot.activity = Streaming(name="!charity", url=TWITCH_CHANNEL)
@bot.command()
async def charity(ctx: Context):
await ctx.send("!charity")
if __name__ == '__main__':
bot.run(BOT_TOKEN)