Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord update solution #42

Open
literallyfabin opened this issue Sep 1, 2022 · 18 comments
Open

Discord update solution #42

literallyfabin opened this issue Sep 1, 2022 · 18 comments

Comments

@literallyfabin
Copy link

discord had an update in which the bot stopped working, which in this case commands like prefix ''!, %, $'' don't work. Would you be able to update to commands like /queue top ?

@spiralwind
Copy link

spiralwind commented Sep 2, 2022

Same issue for me as well. As all commands on discord with the bot don't work anymore

@yenoww
Copy link

yenoww commented Sep 2, 2022

let me know if you find a solution please

@spiralwind
Copy link

So the fix to this in to add " INHOUSE_BOT_COMMAND_PREFIX: COMMAND_HERE(default is !)" in your docker_compose.yml file and run docker-compose up so it recreates it and your all good

@mrtolkien
Copy link
Owner

mrtolkien commented Sep 2, 2022

As written in the README.md:

As discord.py is not maintained anymore and the LCS player association has developed its own matchmaking system, this bot is not maintained anymore as of December 2021.

It was known that Discord was developping breaking changes that would make the bot require a rewrite unfortunately. I don't have the time to handle that at the moment.

I'll leave the thread open so people can see it here too, but a good title would help.

@literallyfabin
Copy link
Author

To end this discussion, the solution that worked was as follows:
putting "intent.messages = True" in inhouse_bot.py file

(Along with what our friend spiralwind said above)

So the fix to this in to add "INHOUSE_BOT_COMMAND_PREFIX: COMMAND_HERE(default is !)" in your docker_compose.yml file and run docker-compose up so it recreates it and your all good

With that the bot works again through the command ''/''

@literallyfabin literallyfabin changed the title Discord att Discord update solution Sep 3, 2022
@yenoww
Copy link

yenoww commented Sep 3, 2022

but wouldn't I have to have cloud access to modify the inhouse_bot.py file?
If it's possible to fix the bot and you can help me.. call me on discord Rodrigoo#1939 (I'm Brazilian)

@adryel97
Copy link

adryel97 commented Sep 7, 2022

Conseguiram resolver o bot do inhouse bot?
Did you manage to solve the inhouse bot bot?

@adryel97
Copy link

adryel97 commented Sep 7, 2022

Coloquei INHOUSE_BOT_COMMAND_PREFIX: COMMAND_HERE(default is !) e não voltou a funcionar.

I put INHOUSE_BOT_COMMAND_PREFIX: COMMAND_HERE(default is !) and it didn't work again.

@DBVSF
Copy link

DBVSF commented Sep 7, 2022

@literallyfabin conseguiu resolver? não sei como modificar a .py ja que é no docker. Tem como dar uma força ? possuo um servidor grande e preciso colocar o bot do inhouse pra funcionar. Me chama no disc CBLIXO#0068 te dou uma grana se ajudar!

@Euphener
Copy link

yeah, what are the details needed to login to adminer?

@spiralwind
Copy link

yeah, what are the details needed to login to adminer?

it was failed to mention but It the same process as done on the youtube tutorial but he forgot to add for the
that the username: postgres

@Euphener
Copy link

Yeah sorry, I did that and it still doesn't work :/ , it just says "connection refused"

@spiralwind
Copy link

spiralwind commented Oct 22, 2022

you need to make sure that the you wrote everything right so below
System: PostgreSQL
Server: db
username: postgres
password : whatever you set in the POSTGRES_PASSWORD:____________ in docker-compose
database: whatever you set in POSTGRES_DB:___________ in docker-compose

@Euphener
Copy link

you need to make sure that the you wrote everything right so below System: PostgreSQL Server: db username: postgres password : whatever you set in the POSTGRES_PASSWORD:____________ in docker-compose database: whatever you set in POSTGRES_DB:___________ in docker-compose

thank you man, helped out a lot

@Luccaop
Copy link

Luccaop commented Nov 7, 2022

someone has able to find how to edit the inhouse_bot.py? to put "intent.messages = True" in inhouse_bot.py file

To end this discussion, the solution that worked was as follows: putting "intent.messages = True" in inhouse_bot.py file

(Along with what our friend spiralwind said above)

So the fix to this in to add "INHOUSE_BOT_COMMAND_PREFIX: COMMAND_HERE(default is !)" in your docker_compose.yml file and run docker-compose up so it recreates it and your all good

With that the bot works again through the command ''/''

@NoatakLoL
Copy link

Do you know any alternatives or a fix? Trying to set this up

@Cxacho
Copy link

Cxacho commented Nov 23, 2022

To end this discussion, the solution that worked was as follows: putting "intent.messages = True" in inhouse_bot.py file

(Along with what our friend spiralwind said above)

So the fix to this in to add "INHOUSE_BOT_COMMAND_PREFIX: COMMAND_HERE(default is !)" in your docker_compose.yml file and run docker-compose up so it recreates it and your all good

With that the bot works again through the command ''/''

Could you please provide more info on how to edit the file, since we do not have the permission to edit files in the original repo?

@Tr3vvv
Copy link

Tr3vvv commented Nov 27, 2022

In the discord development portal, in the guide you have to enable 'Server Member Intent', you must also enable 'Message Content Intent' this is the important step!

In docker compose, under the emojis make sure you enter this in the same tab line,
INHOUSE_BOT_COMMAND_PREFIX: '!'
MAKE SURE YOUR COMMAND IS IN SINGLE TICKS

You can change the command to whatever you want, by default it is '!'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests