Giter Site home page Giter Site logo

rawbot's Introduction

DAPI Bot

This bot is created in pure Discord API, without any wrappers. More technical specifications below.

Contributing

I'll only accept PRs with bug fixes and I might not accept all of them. The aim of this project is for me to learn stuff, and not to get a bot working.
I ask questions regularly about this on the CodeGrok discord though. That's also where the testing goes on.

What's on the TODO list?

Look at the issues, I created a to do list there, more like a challenge. You can suggest more things in the comments.

Technical Specifications

Python 3.6 (I use fstrings here) asyncio websockets aiohttp

How to run this?

  • Fill up config.json similar to config.json example
    • Basically, include your token and prefix
  • pip install -r requirements.txt (got to do this)
  • A samples folder will be created upon launch which will contain JSON files of all the WS events discord gives us (might get removed)
  • Lastly, do python websocket.py and it'll start it up.

My own fork

How to add commands?

This might get changed in the future.

  • Go to commands.py
  • Add your command similar to the format of the already created ones in parse_command
  • It uses startswith ;)

How to remove roles.....? or do whatever that isn't already done?

  • Read the DDevs documentation and use the request function.

I won't be providing support for this.

rawbot's People

Contributors

fourjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

toxicrecker

rawbot's Issues

Ideas/Suggestions

Current ideas:

  • Moderation
    • Kick
    • Ban
    • Softban
    • Advertistment filter
      • discord.gg
      • discordapp.com/invite
  • Utility
    • Rank command to add/remove roles
  • Misc
    • Custom commands from a JSON
    • Message when joins a guild

To contribute, contact me on discord.

Suggest further ideas down in the comments \/

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.