Skip to content

vimgrund/vikbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vikbot a Discord Bot

Important
already legacy code q-: New Project at dotBot@gitlab

I’m lazy so I want to let someone else do task for me

es lebt

My Bot can:

  • say hello to strangers, but only follow my orders

  • upload files to an ftp server for me

run

you’ll need to configer to Environment Variables

Copy template and fill in your stuff

pip install -r requirements.txt
cp runTemplate.sh run.sh
[...]
./run.sh

or export on the fly

export DISCORD_TOKEN={yourBotsToken}
export MASTER_ACCOUNTS="{yourDicordAccouId},{anotherAdminsAccountId}"
export VB_URL_1={publicUrl}
export VB_FTP_1_HOST={ftpHost}
export VB_FTP_1_USER={ftpUser}
export VB_FTP_1_PW={ftpUserPW}

python src/main.py

Debug

copy .envTemplate to .env and fill with your Information

launch.json

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Discord Bot",
            "type": "python",
            "request": "launch",
            "program": "src/main.py",
            "console": "integratedTerminal",
            "envFile": "${workspaceFolder}/.env",
            "justMyCode": true
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published