|
|
|
@ -7,7 +7,7 @@ import os
|
|
|
|
|
import json
|
|
|
|
|
from datetime import datetime
|
|
|
|
|
|
|
|
|
|
from random import choice
|
|
|
|
|
from random import randrange
|
|
|
|
|
|
|
|
|
|
from discord import Embed, Intents
|
|
|
|
|
from discord.ext import commands
|
|
|
|
@ -436,4 +436,13 @@ async def neeble_debug(bot:object) -> str:
|
|
|
|
|
|
|
|
|
|
qt_count = count_quotes()
|
|
|
|
|
st_size = len(quote_id_stack)
|
|
|
|
|
return await bot.send(f"```\nqt_count:{qt_count}\nst_size:{st_size}\nst_limit:{stack_limit}\nlst_qt:{last_quote}\n```")
|
|
|
|
|
return await bot.send(f"```\nqt_count:{qt_count}\nst_size:{st_size}\nst_limit:{stack_limit}\nlst_qt:{last_quote}\n```")
|
|
|
|
|
|
|
|
|
|
@client.command(aliases=['dr', 'droll'])
|
|
|
|
|
async def dice_roll(bot:object, size:int=6) -> str:
|
|
|
|
|
"""
|
|
|
|
|
Generates a random number between 1 and <size>. Default size is 6.
|
|
|
|
|
"""
|
|
|
|
|
syntax = '--dice_roll <size>'
|
|
|
|
|
|
|
|
|
|
return await bot.send(f":game_die: : `{str(randrange(1, size))}`")
|