commit
9b873616d2
@ -41,7 +41,7 @@ class Git(Loggable):
|
|||||||
@commands.group(case_insensitive=True, invoke_without_command=True)
|
@commands.group(case_insensitive=True, invoke_without_command=True)
|
||||||
async def git(self, ctx):
|
async def git(self, ctx):
|
||||||
"""Run help git for more info"""
|
"""Run help git for more info"""
|
||||||
await ctx.send('https://github.com/Annihilator708/Sebi-Machine/')
|
await ctx.send('https://github.com/dustinpianalto/Sebi-Machine/')
|
||||||
|
|
||||||
@commands.command(case_insensitive=True, brief='Gets the Trello link.')
|
@commands.command(case_insensitive=True, brief='Gets the Trello link.')
|
||||||
async def trello(self, ctx):
|
async def trello(self, ctx):
|
||||||
|
|||||||
@ -13,14 +13,14 @@ class Moderation:
|
|||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def sar(self, ctx):
|
async def sar(self, ctx):
|
||||||
"""Assign or remove self assigned roles"""
|
"""Assign or remove self assigned roles."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def kick(self, ctx, member: discord.Member = None):
|
async def kick(self, ctx, member: discord.Member = None):
|
||||||
"""
|
"""
|
||||||
Kick a discord member from your server.
|
Kick a discord member from your server.
|
||||||
Only contributors can use this command
|
Only contributors can use this command.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
- kick <discord.member>
|
- kick <discord.member>
|
||||||
|
|||||||
@ -19,7 +19,7 @@ exports.run = async function(client, message, args) {
|
|||||||
|
|
||||||
const type = args[0]; // can be get, remove or list
|
const type = args[0]; // can be get, remove or list
|
||||||
|
|
||||||
if (type == "list") {
|
if (type == "list" || type == undefined) {
|
||||||
|
|
||||||
const embed = new Discord.RichEmbed()
|
const embed = new Discord.RichEmbed()
|
||||||
.setTitle("List of Self Assigned Roles")
|
.setTitle("List of Self Assigned Roles")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user