Git Product home page Git Product logo

py-contributors / cybel Goto Github PK

View Code? Open in Web Editor NEW
18.0 4.0 16.0 4.16 MB

A Powerfull, Advanced, and Open Source Discord Bot using async api and Postgres DB

Home Page: https://top.gg/bot/832137823309004800/

License: MIT License

Python 99.73% Dockerfile 0.20% Procfile 0.03% Shell 0.04%
bot-commands python python3 discord discord-bot discord-py discordbot discord-api discord-server aiohttp aiohttp-client kick codeperfectplus asyncio asynchronous-api hacktoberfest2021 hacktoberfest-accepted bot hacktoberfest2022 hacktoberfest2022-accepted

cybel's Introduction

website title image

๐Ÿ‘‰ Discord Bot implemented in Python ๐Ÿ‘ˆ

pycontributors logo

Features

  • Admin Commands for server management with powerful moderation
  • Stay connected every time with 99% uptime
  • Custom welcome message for each user when joining
  • Separate DM message upon joining the server\
  • Postgres Database for storing data
  • Utility async APIs
  • Log Everything with embed message
  • AutoMod - Delete offensive word automatically
  • Use the bot to its full potential without ever annoying anyone
  • Modern Pythonic API using async/await syntax
  • Easy to use with an object-oriented design
  • Optimized for both speed and memory
  • Member can report misconduct, malicious behavior, or inappropriate content.
  • Published and approved on Top.gg website. check [here] (https://top.gg/bot/832137823309004800/invite)
  • More Features coming soon...

Invite Cybel into your server

Report a Bug

How to use/test

Server testing

  • if you want to test it in server please Use the Invite link here

Run with Docker

  1. Create .env file in root directory and add the following variables. Sample env file is here
DISCORD_TOKEN=Discord bot token [get it from here](https://discord.com/developers/applications)
WEATHER_API_KEY=OpenWeatherMap API key [get it from here](https://openweathermap.org/api)
DATABASE_URL=postgres://username:password@localhost:5432/database_name
  1. Run the docker-compose command to run the bot
docker compose up -d
  1. See the docker logs
docker compose logs -f

Run locally

  1. Create .env file in root directory and add the following variables. Sample env file is here
DISCORD_TOKEN=Discord bot token [get it from here](https://discord.com/developers/applications)
WEATHER_API_KEY= OpenWeatherMap API key [get it from here](https://openweathermap.org/api)
DATABASE_URL=postgres://username:password@localhost:5432/database_name
  1. Create a virtual environment and install the dependencies
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Run the bot
python3 bot.py

Run in Debug Mode

python app.py -d

Beta Version

beta version deprecated in 1.0.0 release. It will be removed in v1.0.2 release.

Upcoming Feature

  • Role Upgrade
  • Reactions Roles
  • Music bot feature(play music in voice channel from youtube)
  • Add database to keep record of server's activity
  • Admin can access server's activity
  • Some new useful apis
  • remindme the bot remind you about something in future
  • More features coming soon...
  • please use discussion to suggest new features

Changelog

check changelog for full information

Supported Versions

Use this section to tell people about which versions of your project are currently being supported with security updates.

Version Supported Based on Status
2.0.0 โœ… Discord.py v2.0.1 Not Stable
1.0.2 โœ… Discord.py v1.7.3 Stable

V2.0.0 Release

  • Upgrading code base for Discord.py 2.0.0 documentation
  • Better code structure
  • Better Error commands handling
  • Under devlopment

v1.0.2 Release (19/12/2021)

  • More control over bot's behavior(change bot's avatar, name, nickname, status, etc): (added in v1.0.2)
  • Bot notifications if user edit or delete the message in the server: (added in v1.0.2)
  • Bot can change the nickname of the user in the server: (added in v1.0.2)
  • postgresql database support: (added in v1.0.2)
  • Admin can access the misconduct/spam behaviour report status of the member from db: (added in v1.0.2)
  • Bot can have record of the user's report status in db: (added in v1.0.2)
  • Optimize code for performance & bug fix: (added in v1.0.2)
  • more...

V1.0.1 Release (14/12/2021)

  • AutoMod: Curse word deletion improved (added: v1.0.1)
  • get bot latency : (added: v1.0.1)
  • slot machine : (added: v1.0.1)
  • change username of self(admin) : (added: v1.0.1)
  • source code command : (added: v1.0.1)
  • Bot can send message to user in DM: (added: v1.0.1)
  • Optimize code for performance : (added: v1.0.1)
  • Bug fixes
  • more...

v1.0.0 Release (12/12/2021)

  • member can report someone to admin: like for bullying, bad behaviour : (added: v1.0.0)
  • Create server Instant Invite : (added: v1.0.0)
  • create bot invite : (added: v1.0.0)
  • Kick/Ban User: (added: v1.0.0)
  • Get user avatar : (added: v1.0.0)
  • delete role : (added: v1.0.0)
  • Server(Id, Name, Owner, Icon) : (added: v1.0.0)
  • Get Member Avatar : (added: v1.0.0)
  • Bug fix: (added: v1.0.0)
  • optimize code for performance : (added: v1.0.0)

Under Review Features

  • one command role assignment to all members: (under review)
  • send dm message to all member in server: (under review)

Support Here

Author

Suggestion/Feedbacks

Maintainers ๐Ÿ˜Ž

Social Channel ๐Ÿ’ป - Connect with like minded people

License

Built by Developers built with love

cybel's People

Contributors

aayushi-droid avatar codeperfectplus avatar deepak6379 avatar dependabot[bot] avatar drakeentity avatar expresshermes avatar shubham7668 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cybel's Issues

Upgrade from discord.py 1.7.1 to 2.0

I think it will be great if we could bump the version of discord.py from 1.7.1 to 2.0.
I'm willing to work on the breaking changes and get it up to date alongside adding in a very interesting feature(gameboy color emulator).

If that's fine then I can start work on it

Add this

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Music commands to add in next update

Music Feature to be implement in next update.

Feature:- Can play music from youtube/spotify.

Sample Commands
Methods:
play (discord.ext.commands.command): Plays a song.
pause (discord.ext.commands.command): Pauses the song.
resume (discord.ext.commands.command): Resumes the song.
skip (discord.ext.commands.command): Skips the song.
queue (discord.ext.commands.command): Shows the queue.
clear (discord.ext.commands.command): Clears the queue.
volume (discord.ext.commands.command): Changes the volume.
leave (discord.ext.commands.command): Leaves the voice channel.
join (discord.ext.commands.command): Joins the voice channel.
play_next (discord.ext.commands.command): Plays the next song.
play_prev (discord.ext.commands.command): Plays the previous song.
play_random (discord.ext.commands.command): Plays a random song.
play_loop (discord.ext.commands.command): Plays a looped song.
play_shuffle (discord.ext.commands.command): Plays a shuffled song.
play_repeat (discord.ext.commands.command): Plays a repeated song.
play_repeat_one (discord.ext.commands.command): Plays a repeated song.
play_shuffle_one (discord.ext.commands.command): Plays a shuffled song.
play_shuffle_all (discord.ext.commands.command): Plays a shuffled song.

DockerFile to start server.

Is your feature request related to a problem? Please describe.

adding a Docker file to start the server.

For running instructions check README.md
Required:- Python3.9, requirements.txt is in the root directory

style

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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.