+ Added comments and mild formatting.
This commit is contained in:
1 parent
355660eea4
commit
f363d15010
4 files changed
+19
-20
No files matched your search
+9
-10
@@ -91,18 +91,17 @@ public class Main extends ListenerAdapter
|
||||
|
||||
if(pluginOutput != null && pluginOutput.size() > 0)
|
||||
{
|
||||
for(int i = 0; i < pluginOutput.size(); ++i)
|
||||
for(int i = 0; i < pluginOutput.size(); ++i)
|
||||
{
|
||||
if(pluginOutput.get(i).startsWith("!"))
|
||||
{
|
||||
if(pluginOutput.get(i).startsWith("!"))
|
||||
{
|
||||
commandManager.InvokeOnNewThread(guild, channel, user, new UserInput(pluginOutput.get(i).substring(1), guild), response);
|
||||
}
|
||||
else
|
||||
{
|
||||
response.Call(pluginOutput.get(i));
|
||||
}
|
||||
commandManager.InvokeOnNewThread(guild, channel, user, new UserInput(pluginOutput.get(i).substring(1), guild), response);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
response.Call(pluginOutput.get(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user