Created
October 3, 2016 15:04
-
-
Save jayktaylor/c18ddef3817c58ad1cbb6018d33790eb to your computer and use it in GitHub Desktop.
Revisions
-
Jayden Bailey created this gist
Oct 3, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ async def cmd_sendall(self, args, leftover_args): """ Usage: {command_prefix}sendall <message> Sends a message to all servers the bot is on """ if leftover_args: args = ' '.join([args, *leftover_args]) for s in self.servers: await self.safe_send_message(s, args)