blob: 1b048d00417d4d3a019245908e2e30c184f6c091 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import os
import discord
from dotenv import load_dotenv
from bigresult import BotClient
from discord.ext import commands
load_dotenv()
TOKEN = os.getenv('DISCORD_TOKEN')
intents = discord.Intents.all()
client = BotClient(intents=intents, command_prefix="!") # This represents our connection with Discord
@client.command(name="bigresult")
async def teach(ctx):
await ctx.reply("https://cdn.discordapp.com/attachments/427176475406630914/1302392181448900649/image.png?ex=6727f2bd&is=6726a13d&hm=6092f4fba06412feac26a16a6900bf6e6122d66506f60bfcc0bc7101ecede4db&")
@client.command(name="mod")
async def mod(ctx):
await ctx.reply("*pees in ur ass*\nI am a bot and this action was performed automatically. Please contact the modertators of this server if you have any questions or concerns.")
@client.command(name="teachmethebigresult")
async def teachbigresult(ctx):
await ctx.reply("take b36 with Nick Cheng. join the 'Big Result' club")
client.run(TOKEN) # This actually starts our bot
|