You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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 characters
'''Server share cog for creating a gist of members with x number of shared servers'''
class ServerShare:
def __init__(self, bot):
self.bot = bot
@commands.command(pass_context=True)
async def servershare(self, ctx, *, num_servers):
"""Creates a GitHub gist of all members (does not have to be from the server in which the message is posted) as long as they have a specified number of mutual servers
It can also include a certain server if specified by the exact server name.
Usage:
a) >servershare <number_of_servers>
b) >servershare <number_of_servers> | server=<server_to_include>
Example: `>servershare 3 | server=Appu's Selfbot` will include all members of all servers who have atleast 3 servers in common, and one of them must be Appu's Selfbot