Created
October 25, 2019 23:47
-
-
Save Zomatree/5840b33284e87645e43719284539d97c to your computer and use it in GitHub Desktop.
actioneer command class example
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 characters
class server: | |
def purge(self, amount: int): | |
"""Purges an amount of messages from the channel""" | |
class config: | |
"""All the config for the server""" | |
def staff(self, role): | |
"""All the config for the server""" | |
class raid: | |
"""All the commands for the raid prevention""" | |
class toggle: | |
"""How sensitive the raid prevention should be""" | |
def on(self): | |
"""Turns Raid prevention on""" | |
def off(self): | |
"""Turns Raid prevention off""" | |
def mode(self, int): | |
pass | |
class info: | |
"""Info about certain things in the server""" | |
def member(self, member): | |
"""Info about a certain member""" | |
def channel(self, channel): | |
"""Info about a certain channel""" | |
def role(self, name): | |
"""Info about a certain role""" | |
def category(self, name): | |
"""Info about a certain category""" | |
class admin: | |
def ban(self, member, reason): | |
pass | |
def tempban(self, member, time, reason): | |
pass | |
def kick(self, member, reason): | |
pass | |
def mute(self, member, reason): | |
pass | |
def tempmute(self, member, time, reason): | |
pass | |
def block(self, member, reason): | |
pass | |
def tempblock(self, member, time, reason): | |
pass | |
def warn(self, member, reason): | |
pass | |
def freeze(self): | |
pass | |
def bans(self, member): | |
pass | |
def mutes(self, member): | |
pass | |
def warns(self, member): | |
pass | |
class clean: | |
def all(self): | |
pass | |
def members(self): | |
pass | |
def bans(self): | |
pass | |
def kicks(self): | |
pass | |
def mutes(self): | |
pass | |
def roles(self): | |
pass | |
def channels(self): | |
pass | |
def categorys(self): | |
pass | |
def backup(self): | |
pass | |
class log: | |
class set: | |
def channel(self, channel): | |
pass | |
class listen: | |
def add(self, event): | |
pass | |
def remove(self, event): | |
pass | |
def list(self): | |
pass | |
def toggle(self): | |
pass | |
def on(self): | |
pass | |
def off(self): | |
pass | |
class backup: | |
def export(self): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment