Git Product home page Git Product logo

helix3's Introduction

Build Status Last Commit Discord GitHub commit activity the past week, 4 weeks, year

Helix3

The third iteration of Helix

Oh hey, this bot is a work in progress. If you want to help out, go ahead.

So what does each file do?

boot.py prepares the bot to boot, handles the logging setup and archive. You run this file to start the bot

code/bot.pythe main bot file. This code handles loading and unloading cogs, logging in, shutting down, and all other core functions

code/fun.py a cog file for all "fun" commands

code/moderation.py a cog for all "moderation" commands

code/music.py a cog for all music functions

code/utilites.py a cog for all "utilities" commands

code/porn.py a cog for all the cough naughty commands

code/get.py is an unfinnished collection of helper functions to allow per server settings

code/chatbot.py a cog for helix's chatbot capability, based on A.L.I.C.E. AIML Bot

Any code files prefaced with "misc_" are just files that return a random string in line with 1the name. These will be gone soon so just ignore them.

How do i load a cog?

bot.add_cog([cogName](param))

How do i unload a cog?

bot.remove_cog("[cogName]")

Can my cog be added to reload?

Yeah, just use the rest of the command as guidance

Can i use the requests module?

NO, use aiohttp.get instead

How do i make a command?

Go to the appropriate cog file, go into the class and use the following:

    @commands.command(pass_context=[bool], no_pm=[bool])
    async def [command name](self, ctx): # use ctx, if pass_context is true
        [code for your command]

Extra dependencies

  • youtube_dl
  • colorlog
  • lxml
  • discord
  • pycryptodome

For anything else, use the following:

standard discord.py stuff: http://discordpy.readthedocs.io/en/latest/

commands extension stuff (cogs, commands.command, etc.): http://discordpy.readthedocs.io/en/latest/faq.html#commands-extension

https://www.google.co.uk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.