Skip to content

c0dezer019/presence_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComBot Server

Maintains the backend for the CommunityBot Discord Bot.

Technology Used

  • psycopg2 as a PostgreSQL adapter for Python.
  • Flask for the framework.
  • SQLAlchemy as a database engine.
  • Flask-SQLAlchemy for less boilerplate setup.
  • Pipenv for the Virtual Environment.
  • Jsonify to turn things into JSON.
  • pytz for managing timestamps.
  • requests for handling requests from bot API.
  • wheel for production build.
  • mod_wsgi for the hosting service.

Models

The bot requires two models. The Server and the User with a many-to-many relationship. A server has many users, and a user has many servers. The database only tracks username with discriminator, Discord ID, last activity type, location, and timestamp.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages