Voxel-Fox-Ltd / MarriageBot

A Discord bot for fake marriages
GNU Affero General Public License v3.0
82 stars 45 forks source link

How to start bot? #140

Closed Arnau97 closed 1 year ago

Arnau97 commented 2 years ago

I installed requirements but I don't know what I need to execute to activate bot

schlopp commented 2 years ago

Assuming you have VoxelBotUtils installed via pip:

python3 -m voxelbotutils run-bot .

... Or if you have python /Scripts added to your path:

vbu run-bot .

edited to change run to run-bot

Arnau97 commented 2 years ago

Assuming you have VoxelBotUtils installed via pip:

python3 -m voxelbotutils run-bot .

... Or if you have python /Scripts added to your path:

vbu run-bot .

edited to change run to run-bot

Uhhh, I don't have VoxelBotUtils installed, when I try it says that hiredis can't be installed, what should I do?

schlopp commented 2 years ago

Assuming you have VoxelBotUtils installed via pip:

python3 -m voxelbotutils run-bot .

... Or if you have python /Scripts added to your path:

vbu run-bot .

edited to change run to run-bot

Uhhh, I don't have VoxelBotUtils installed, when I try it says that hiredis can't be installed, what should I do?

$ python3 -m pip install voxelbotutils
... or
$ pip install voxelbotutils
Arnau97 commented 2 years ago

Assuming you have VoxelBotUtils installed via pip:

python3 -m voxelbotutils run-bot .

... Or if you have python /Scripts added to your path:

vbu run-bot .

edited to change run to run-bot

Uhhh, I don't have VoxelBotUtils installed, when I try it says that hiredis can't be installed, what should I do?

$ python3 -m pip install voxelbotutils
... or
$ pip install voxelbotutils

Seems to work! But now it says ''Exception: Error creating database pool''

Arnau97 commented 2 years ago

Assuming you have VoxelBotUtils installed via pip:

python3 -m voxelbotutils run-bot .

... Or if you have python /Scripts added to your path:

vbu run-bot .

edited to change run to run-bot

Uhhh, I don't have VoxelBotUtils installed, when I try it says that hiredis can't be installed, what should I do?

$ python3 -m pip install voxelbotutils
... or
$ pip install voxelbotutils

schlopp can you help me? It works but it says ''Exception: Error creating database pool''

schlopp commented 2 years ago

You'll need asyncpg installed and a postgreSQL server running on your device. You'll also have to create a database for marriagebot and update the configuration in your config/config.toml file.

Arnau97 commented 2 years ago

okay, thanks <3

Missatge de schlöpp! @.***> del dia dg., 13 de març 2022 a les 23:57:

You'll need asyncpg installed and a postgreSQL server running on your device. You'll also hsve to create a database for marriagebot and update the configuration in your config/config.toml file.

— Reply to this email directly, view it on GitHub https://github.com/Voxel-Fox-Ltd/MarriageBot/issues/140#issuecomment-1066199570, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQLZPOIRM5XVERCQQP3GB7TU7ZXF3ANCNFSM5P72UT4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Arnau97 commented 2 years ago

You'll need asyncpg installed and a postgreSQL server running on your device. You'll also have to create a database for marriagebot and update the configuration in your config/config.toml file.

also, what OS do you recommend me for running the bot? (Sorry for being so stupid)

schlopp commented 2 years ago

Use your personal computer. I'm fairly certain hosting MarriageBot for non-personal use isn't allowed, so just locally hosting works Edit: No need to apologise for asking questions

Arnau97 commented 2 years ago

Use your personal computer. I'm fairly certain hosting MarriageBot for non-personal use isn't allowed, so just locally hosting works Edit: No need to apologise for asking questions

yeah, but with windows doesn't work. So what Operative System do you recommend me? I have an old computer and I can install any OS

schlopp commented 2 years ago

Wdym with "windows doesn't work"? What aspect doesn't?

Arnau97 commented 2 years ago

Wdym with "windows doesn't work"? What aspect doesn't?

Error installing some requirements like asyncpg

schlopp commented 2 years ago

Please send the error you're receiving.

Arnau97 commented 2 years ago

Please send the error you're receiving.

This is the error (sorry for being late)

image

schlopp commented 2 years ago

https://stackoverflow.com/questions/40018405/cannot-open-include-file-io-h-no-such-file-or-directory This might help you