Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

Discord bot to generate and distribute Amazon store cards

License

Notifications You must be signed in to change notification settings

drooling/store-card-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Store Card Service

Install

git clone https://github.com/drooling/store-card-service/
cd store-card-service

pip install git+https://github.com/Pycord-Development/pycord
pip install python-dotenv
pip install pymysql
pip install selenium

Setup

YOU WILL NEED A MYSQL SERVER !!

You can host one on your own or use XAMMP

Once you have access to a MySQL server you need to create the table and database

CREATE DATABASE IF NOT EXISTS `tragedy`;
USE `tragedy`;

CREATE TABLE `amazon` (
    `user` BIGINT(18) NOT NULL UNIQUE,
    `premium` BOOLEAN NOT NULL,
    `plan_expiration` DATETIME NOT NULL
);

After this you can create the .env file with the following variables:

mysqlServer=#Address of MySQL server or localhost
mysqlPassword=#Password of root user
token=#Discord bot token

And finally run the bot with

python src/init.py

About

Discord bot to generate and distribute Amazon store cards

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages