Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.
Hat edited this page Nov 16, 2017 · 9 revisions

Please consider contributing this wiki since Hat is very busy to work on this wiki! Thank you! ~Hat

Welcome to the HatBot wiki!

This is a Discord Bot for HatCord to play around with. It is not really useful, but a great source code to take if you wanna make your own with the code, or either help code the bot.

Information

  • So, if i'm taking the source code, how am I supposed to use the source code for creating my bot?

Simple. This might be the unprofessional way, but you can add commands to your own bot when you're taking the source code for this. CopyAndPaste Copy and paste a another command from the source code, and trying to paste it.

But i've deleted all the commands from my bot, what should I do?!?!

Well, you can copy and paste this command for your bot here for a example;

#command1
@client.command(pass_context=True)
async def examplesomething(ctx):
    await client.say("""This is a example!""")

Now when you try to do it, it does this ExampleSomething

DO NOTE where the part where it says "examplesomething", change it to what the users want to say so the bot can respond. To change the bots response, change the part where it says "This is a example!" to anything you want. DO not remove the 3 quotations though, since it can make a error for you're bot.

You can also add custom code to your bot anything you want! It's the source code, mess around with it, do anything you want.

HatBot

A bot made by Hat. Press the Pages button to know more about HatBot!

Clone this wiki locally