Coder Social home page Coder Social logo

avebot's Introduction

AveBot

A discord bot that does a ton of weird (and neat) stuff.

This is v3, which uses Discord.py rewrite and is finally on COGS.

Please check out COMMANDS to see the command list.


Due to Discord Developer ToS, I am required to tell you that AveBot DOES log messages that start with AveBot's prefix (ab!), and you shouldn't add it to your server or use it if you don't agree with that.

Invite link: https://discordapp.com/oauth2/authorize?client_id=305708836361207810&scope=bot


How can I set it up?

  • Install python3.6 or higher.
  • Install imagemagick on pip if you plan to enable imagemanip or emojis cogs
  • Install colors on pip if you plan to enable finance cog
  • Install psutil and humanize on pip
  • Install psycopg2
  • Install postgres, create a user, a database and whatnot, then execute this: CREATE TABLE permissions (discord_id bigint UNIQUE, permlevel int);. Note down the database name, username and password.
  • Install discord.py (pip3 install -U discord.py).
  • Install python-dateutil (pip3 install python-dateutil)
  • Install pillow (See this for more info on how to install it)
  • Download Mukta Malar and copy MuktaMalar-Medium.ttf to AveBot folder (or change font name in ini)
  • Learn your bot token (hint).
  • Set up a room for ab!contact messages and one for messages on launch time, note their IDs down (looks like 305715263951732737). Developer mode will help with this one.
  • Copy avebot.ini.example to avebot.ini.
  • Put the token, Room IDs and postgres info on the avebot.ini file.
  • Add your bot to your server. (Find the Client ID on same place as the one you found out the bot token, replace it with BOT_TOKEN on this link: https://discordapp.com/oauth2/authorize?client_id=BOT_TOKEN&scope=bot)
  • Run python3.6 avebot.py. I recommend using pm2 and just running pm2 start avebot.py --interpreter python3.6 if you want it to be restarted automatically after system restarts and crashes.
  • Enjoy.

avebot's People

Contributors

aveao avatar crazypython avatar mstrodl avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

avebot's Issues

relative time

We need relative time displays on

  • ab!sinfo
  • ab!uinfo
  • join message

tip: str(datetime.timedelta(seconds=smth))

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.