Skip to content

HalvaPovidlo/DiscordHalvaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

219 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordHalvaBot

Deploy to server Python application

Join all our teams

Email me at andrei.khodko@gmail.com to be added to the Discord Developer Portal and Google API Console teams.

Enable Discord

You need to sign up at Discord Developer Portal

And join our HPDevelopment team.

Create file source/secretConfig.py

discord_settings = {
    'token': '***',
    'bot': 'HalvaBot',
    'id': 746726055259406426,
    'prefix': '$',
    'debug': True
}

gsheets_settings = {
    'id': '***',
    'film': '***'
}

vk = {
    'login': '***',
    'password': '***'
}

CHESS_API_TOKEN = '***'

Replace token with token from Discord Developer Portal.

Applications -> HalvaBot -> Bot -> Click to reveal token

Don't pass this token on to anyone!!!

Download ffmpeg

On Windows:

Download ffmpeg.exe from somewhere than move it to source/

Enable Google Sheets

In secretConfig.py replace gsheets_settings.id with the id of our table.

Sign in to Google API Console

Credentials -> OAuth client -> DOWNLOAD JSON

Move the json file to source/music/stats/ and rename it to credentials.json.

Run main.py.

Documentation

https://discordpy.readthedocs.io/en/latest/api.html

About

A music discord bot with some fun stuff like a dirty talk detector or play chess function.

Topics

Resources

License

Stars

Watchers

Forks

Contributors