discoutils is a module that helps discord bot development easy
pip install discoutils
There are two help commands currently but soon there will be more.
import discord
from discord.ext import commands
from discoutils import MinimalEmbedHelp
bot = commands.Bot(command_prefix=".", help_command=MinimalEmbedHelp())
import discord
from discord.ext import commands
from discoutils import DefaultEmbedHelp
bot = commands.Bot(command_prefix=".", help_command=DefaultEmbedHelp())
There are only 3 functions for now we will be adding more functions soon
randomColor()
import discord
from discord.ext import commands
from discoutils import random_things
# test embed
@bot.command()
async def test(ctx):
embed = discord.Embed(title = 'test',description='test',color=random_things.randomColor())
await ctx.send(embed=embed)
random_dog()
import discord
from discord.ext import commands
from discoutils import random_things
# test embed
@bot.command()
async def test(ctx):
embed = discord.Embed(title = 'test',description='test')
embed.set_image(url=random_things.random_dog())
await ctx.send(embed=embed)
random_cat()
import discord
from discord.ext import commands
from discoutils import random_things
# test embed
@bot.command()
async def test(ctx):
embed = discord.Embed(title = 'test',description='test')
embed.set_image(url=random_things.random_cat())
await ctx.send(embed=embed)