资源算法honkbot

honkbot

2020-02-17 | |  30 |   0 |   0

HONKBOT

A mission-critical bot that interfaces with discord to do highly important stuff

A list of things that it does:

  • Adds people to groups

  • Searches google for images

  • Searches youtube for videos

  • Insults people

  • Gives information on eAmuse downtime

Installing

No special installations needed for the bot itself. Simply clone and run

Dependencies can be installed by running pip install -r requirements.txt in the project directory

Using Honkbot

Calling honkbot.py directly will pull in environment variables and run the bot. You can also call the bot in python

Example:

import honkbot

discord_apikey = "asdfclkwmeroi2j34r09sdfu82oui345th"bot = honkbot.Honkbot(discord_apikey)
bot.run()

Dependencies

The following are required for this bot to run correctly

  • Python 3.5 or higher

Modules:

  • discord.py

  • python-dotenv

Settings

Honkbot takes advantage of the following services:

  • Discord (Required, obviously) - How-to

  • Google (Optional) - How-to

  • Speedrun.com (Optional) - How-to

Calling Honkbot directly, it will try to find the .env file located in the same directory. This file contains user specific settings such as API keys for the various services. You can find the template for the .env file in env.example

Contributing

Want to help keep Honkbot awesome? Great! Just a couple things:

  • This repo will follow a Forking workflow for non-contributors. You will have to fork the repo to your own and merge back in via PR

  • Contributors will follow a Feature branch workflow. All new code will be done in a separate branch and merged via PR

  • master is protected so that the code owner must approve all changes


上一篇:honk-honk-motherfucker

下一篇:honkify-demo

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...