Execute
Save
Share
Share link
share
share
share
Team
Public Teams
Comments
0
Created By:
Guest
Title:
Title
Description
Edit
Copy Link
Login
Email *
Password *
Login
OR
Create Account
Screen Name *
Email *
Password *
Retype Password *
Team Access Code
Register
Public CodeBins
HELP
--Select Theme--
Ambiance
Blackboard
Cobalt
Eclipse
Elegant
Erlang-Dark
Lesser-Dark
Monokai
Neat
Night
Rubyblue
Vibrant-Ink
Xq-Dark
New CodeBin
CodeBins Versions
02/17/2021- V.2
02/04/2021- V.1
Compare Versions
Recent CodeBins
View All CodeBins
class Help(commands.Cog): def __init__(self, client): self._original_help_command = client.help_command client.help_command = help() client.help_command.cog = self def cog_unload(self): self.bot.help_command = self._original_help_command def __init__(self, client): self.client = client @commands.group(invoke_without_command = True) async def dhelp(self, ctx): em = discord.Embed(title = 'Help', description = 'Use **.help <command>** for extended information.', color = 0xFDF8F4) em.add_field(name = "🔗 Moderation", value = '`kick`,`ban`,`unban`,`clear`,`reactionrole`', inline = False) em.add_field(name = "📢 Announcements", value = '`announce`,`embed`,`poll`', inline = False) em.add_field(name = "😄 Fun stuff", value = '`add`,`howdumb`,`howhot`,`meme`,`gif`,`ask`,`say`', inline = False) em.add_field(name = "<:information:806326223302950962> Information", value = '`whois`,`avatar`,`ping`, `support`, `invite`') await ctx.send(embed = em) @help.command() async def kick(self, ctx): em = discord.Embed(title = 'Kick', description = 'Kicks a member from the guild.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.kick <member> [reason]`') await ctx.send(embed = em) @help.command() async def ban(self, ctx): em = discord.Embed(title = 'Ban', description = 'Bans a member from the guild.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.ban <member> [reason]`') await ctx.send(embed = em) @help.command() async def unban(self, ctx): em = discord.Embed(title = 'Unban', description = 'Unbans a member.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.unban <member> [reason]`') await ctx.send(embed = em) @help.command() async def clear(self, ctx): em = discord.Embed(title = 'Clear', description = 'Clears specific number of messages. **||[Typing none or 0 after >clear will delete everything.]||**', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.clear <amount>`') await ctx.send(embed = em) @help.commands() async def reactionrole(self, ctx): em = discord.Embed(title = 'Reaction Role', description = 'Creates embed message with Reaction Role on it. **||[Wont work with custom emojis.]||** ', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.reactionrole <emoji> <tag role> <message>`') await ctx.send(embed = em) @help.command() async def announce(self, ctx): em = discord.Embed(title = 'Announcing messages', description = 'Announces your message in embed.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.announce <message>`') await ctx.send(embed = em) @help.command() async def embed(self, ctx): em = discord.Embed(title = 'Embed message', description = 'Sends an embed message.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.embed <message>`') await ctx.send(embed = em) @help.command() async def poll(self, ctx): em = discord.Embed(title = 'Poll', description = 'Creates an embed poll and sends it with message reactions on it.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.poll <message>`') await ctx.send(embed = em) @help.command() async def add(self, ctx): em = discord.Embed(title = 'Add command', description = 'Adds numbers together.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.add <Number> <Number>`') await ctx.send(embed = em) @help.command() async def howdumb(self, ctx): em = discord.Embed(title = 'How dumb are you?', description = 'Duke shows how dumb are your friend or you.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.dumb <mention a member>`') await ctx.send(embed = em) @help.command() async def howhot(self, ctx): em = discord.Embed(title = 'How 🔥 are you?', description = 'Duke shows how 🔥 are your friend or you.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.hot <mention a member>`') await ctx.send(embed = em) @help.command() async def whois(self, ctx): em = discord.Embed(title = 'Who is?', description = 'Shows information about that member.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.whois <mention a member>`') await ctx.send(embed = em) @help.command() async def avatar(self, ctx): em = discord.Embed(title = 'Profile Picture', description = 'Shows your avatar/profile picture.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.pfp <member>` or `.avatar <member>`') await ctx.send(embed = em) @help.command() async def meme(self, ctx): em = discord.Embed(title = 'Do you need a meme?', description = 'Posts a random meme', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.meme`') await ctx.send(embed = em) @help.command() async def gif(self, ctx): em = discord.Embed(title = 'GIF', description = 'Posts random/specified gifs.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.gif` - for a random gif. `gif [name]` - for a specified gif.') await ctx.send(embed = em) @help.command() async def ask(self, ctx): em = discord.Embed(title = 'Ask a question!', description = 'This command answers your questions within yes/no.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.ask <question>`') await ctx.send(embed = em) @help.command() async def say(self, ctx): em = discord.Embed(title = 'Say something..', description = 'This command says whatever you want.', color = 0xFDF8F4) em.add_field(name = "**Syntax**", value = '`.say <message>`') await ctx.send(embed = em)
Bottom of Page
In Head
On Load
On Ready
Setting
Validate
Copy
Format
Setting
Validate
Copy
Format
No Doc Type
HTML5
HTML 4.01 Transitional
HTML 4.01 Strict
HTML 4.01 Frameset
XHTML 1.1
XHTML 1.0 Transitional
XHTML 1.0 Strict
XHTML 1.0 Frameset
Copy
Format
Download
×
Code Description
×
Difference of Versions
HTML
CSS
JS
×
JS Error
×
CSS Error
Errors
Warnings
×
JavaScript Setting
JS Libraries:
Chrome Frame 1.0.3
Dojo 1.8.0
Dojo 1.7.3
Dojo 1.7.2
Ext Core 3.1.0
jQuery 1.8.0
jQuery 1.7.2
jQuery 1.6.0
jQuery 1.5.0
jQuery 1.4.4
jQuery 1.4.0
jQuery-min 1.7.2
jQueryUI-min 1.8.21
MooTools more-1.4.0.1-full
MooTools core-1.4.5-full
MooTools core-1.4.1-full
Prototype 1.7.1.0
script.aculo.us 1.9.0
SWFObject 2.2
Twitter Bootstrap 2.0.4
WebFont Loader 1.0.28
yui 3.5.1
User Libraries:
Upload File
JavaScript URL(s):
×
CSS Setting
CSS Libraries:
jQueryUI 1.8.21
Twitter Bootstrap 2.0.4
User Libraries:
Upload File
CSS URL(s):