Support multiple Discord modules sharing a bot instance #4

Open
opened 2018-08-20 05:56:06 +00:00 by kuschelyagi · 0 comments
Owner

Currently each Discord module maintains its own Discord client object. We might want to have the same bot instance (i.e. token) used in multiple configurations, each keyed to a guild, such that the bot acts differently depending on what guild it is in.

This might already be possible (if Discord doesn't mind the bot having multiple connections using the same token) but it would be awkward and wasteful.

Currently each Discord module maintains its own Discord client object. We might want to have the same bot instance (i.e. token) used in multiple configurations, each keyed to a guild, such that the bot acts differently depending on what guild it is in. This might already be possible (if Discord doesn't mind the bot having multiple connections using the same token) but it would be awkward and wasteful.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: elsanctum/tenquestionmarks#4
No description provided.