Add balls command
This commit is contained in:
parent
87c5fd1abf
commit
e2a464ecb7
1 changed files with 7 additions and 0 deletions
7
bot.py
7
bot.py
|
@ -1,6 +1,7 @@
|
|||
# Basic twitch bot
|
||||
|
||||
import os
|
||||
import random
|
||||
import sqlite3
|
||||
from twitchio.ext import commands
|
||||
from twitchio.ext import pubsub
|
||||
|
@ -148,6 +149,12 @@ class Bot(commands.Bot):
|
|||
message += f" {PREFIX}{command[0]}"
|
||||
await ctx.send(message)
|
||||
|
||||
@commands.command()
|
||||
async def balls(self, ctx: commands.Context):
|
||||
word_list = "cubes are just balls with corners lmao".split(" ")
|
||||
random.shuffle(word_list)
|
||||
await ctx.send(" ".join(word_list))
|
||||
|
||||
|
||||
def main():
|
||||
load_dotenv()
|
||||
|
|
Loading…
Add table
Reference in a new issue