kaansoral / adventureland

Adventure Land The Open Source CODE MMORPG
Other
188 stars 58 forks source link

Discord Integration Custom channels #94

Open thmsndk opened 7 months ago

thmsndk commented 7 months ago

Currently you can configure your bot token in variables.js but the webhooks / channels it goes to are hardcoded to the adventureland discord.

general messages seems to go to #game_events and if the message contains joined Adventure Land it will go to #new_players

At the very minimum you should be able to specify the general events channel, and the new player channel in variables.js or something equivalent.

https://github.com/kaansoral/adventureland/blob/887a3e859bdbd465beb999eefd1bfcc58331a991/node/server_functions.js#L3263-L3287

ATLUSio commented 6 months ago

The IDs in 3270 and 3272 are likely specific to the adventure.land discord, no?

FreezePhoenix commented 6 months ago

Yes! Those could probably be changed.

FreezePhoenix commented 6 months ago

404333059018719233 corresponds to #game_events, while 839163123499794481 corresponds to #new_players