jasonlessenich / DIH4JDA

A fairly easy-to-use command framework for the Java Discord API, with support for Slash Commands and Context Commands
Apache License 2.0
17 stars 0 forks source link

Added Support for ShardManager #88

Open DenuxPlays opened 1 year ago

DenuxPlays commented 1 year ago

Is your feature request related to a problem? Please describe. /

Describe the solution you'd like Instead of setting JDA instance set a shardmanager instance.

Describe alternatives you've considered Loop trough all shard, get their JDA instance and start DIH4JDA for each one.

Additional context A current work around is to loop over each shard, get their JDA instance and register DIH4JDA for each shard.

jasonlessenich commented 1 year ago

I'll tackle this in the next few days 👍

DenuxPlays commented 1 year ago

I'll tackle this in the next few days 👍

Great I can not imagine a good implementation for that atm.