8000 GitHub - secretsciencelab/dragondiscordbot: Discord bot for/by DragonScript Coding Club
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

secretsciencelab/dragondiscordbot

Repository files navigation

DragonBot

Discord bot for/by DragonScript Coding Club

Everyone that's a part of the DragonScript Coding Club can modify this bot- and add whatever they please!

Quickstart for nooblets:

  1. Try adding a new command. Edit bot.py. Look for the "rawr" command to use as a reference:

    @bot.command()
    sync def rawr(ctx):
       await ctx.send("RAWR!!! :dragon_face:")

    This automatically creates a new command !rawr

    E.g. if you add something like:

    @bot.command()
    async def hello_world(ctx):
     await ctx.send("hello_world")

    ... that will automatically create a new command !hello_world. Of course I'm sure you can be more creative than that.

    After you save your changes into github, the bot automatically updates itself with the new code within 1-2 minutes.

  2. Make your own Personality Module. Personality Modules contain code that you can load and unload from the bot using !load and !unload.

    Personality Modules are stored in files that start with ext_. E.g. ext_aaron.py. To load this module you would call !load aaron.

    To create your Personality Module, make a new file starting with ext_. E.g. ext_chris.py. In this case, you would call !load chris to activate it.

For those who may forget:

The bot updates/rebuilds after a new change in the repo- building takes up to at least a minute. Be patient when testing new commands/features in the discord.

Discord for those who arent in:

Hop on into the DragonScript Coding Club discord and say hi! https://discord.gg/5nuEXxK

Logs

The logs can be accessed here: http://secretsciencelab.com/dragonbotlog.html

Technologies you get to play with in this bot

Python, Discord API, Google Firestore, Flask, Heroku, Git

About

Discord bot for/by DragonScript Coding Club

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8

Languages

0