Support multiple Discord modules sharing a bot instance #4

Open
opened 2018-08-20 05:56:06 +00:00 by kuschelyagi · 1 comment
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.
Author
Owner

Should perhaps be tested with the new serenity-based discord module.

Should perhaps be tested with the new serenity-based discord module.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
elsanctum/tenquestionmarks#4
No description provided.