Skip to content
Permalink
Browse files
New help file from Denis
  • Loading branch information
emrulovd committed Nov 29, 2018
1 parent 9cf1a8a commit b5b7013833f83756d840eba74210c4c094dd0652
Showing 1 changed file with 83 additions and 0 deletions.
@@ -0,0 +1,83 @@
import discord
from discord.ext import commands

"""I took the structure of the code from one of my teammates with his premission. """

class BasicFunctionsHelp:
def __init__(self, client):
client.self = client

@commands.command(aliases = ['commandlist','comlist','commandhelp','commands','command','simonhelp'])
async def comhelp(self, ctx):
embed = discord.Embed(
title='Commands List',

)

embed.add_field(
name="Conversation",
value=
"``hi there`` - Greet 77987 \n "
"``how are you?`` - Asking 77987 question. \n"
"``What's your name?`` - Asking 77987 for his name. \n"
"``Where do you come from?`` - Asking 77987 where is designed. \n"
"``Where are you from?`` - Asking 77987 from which city is. \n"
"``Who is your best friend?`` - Asking 77987 for his best friend. \n",
inline=False
)

embed.add_field(
name="Basic Music commands",
value=
"``!play`` -This command will make the bot to play a song.\n"
"``!summo`` - The bot will join the General channel. \n"
"``!volume`` - Sets the volume of the currently playing song. \n"
"``!stop`` - Stops playing audio and leaves the voice channel. This also clears the queue.\n",

inline=False
)
embed.set_thumbnail(url=ctx.message.author.avatar_url)
embed.set_footer(text='Requested by ' + ctx.message.author.name + '.', icon_url=ctx.message.author.avatar_url)
await ctx.message.channel.send(embed=embed)

@commands.command(aliases = ['Musicinfo', 'musicinfo'])
async def guess(self, ctx):
embed = discord.Embed(title='Music commands')
embed.add_field(
name='Commands',
value=
"``!play`` -Plays a song.\n"
"``!summon`` - Summons the bot to join your voice channel. \n"
"``!volume`` - Sets the volume of the currently playing song. \n"
"``!stop`` - Stops playing audio and leaves the voice channel. This also clears the queue.\n"
"``!skip`` -Vote to skip a song. The song requester can automatically skip. 3 skip votes are needed for the song to be skipped.\n"
"``!resume`` - Resumes the currently played song. \n"
"``!playing`` - Shows info about the currently played song.\n"
"``!stop`` - Stops playing audio and leaves the voice channel. This also clears the queue.\n",

inline=True
)
await ctx.send(embed=embed)

@commands.command(aliases = ['coinhelp', 'chelp', 'coin'])
async def coinhelp(self, ctx):
embed = discord.Embed(
title = 'Converting cryptocurrency to dollars')

embed.add_field(
name="Objective",
value=
"This API will give you information about the cryptocurrency.\n"
"You could also covert everysingle cryptocurrency to dollars.",

inline=False
)

embed.set_footer(text="Requested by " + ctx.message.author.name + '.', icon_url=ctx.message.author.avatar_url)

await ctx.message.channel.send(embed=embed)


def setup(client):
client.add_cog(BasicFunctionsHelp(client))
print("help is loaded")

0 comments on commit b5b7013

Please sign in to comment.