async def attendance_command(self, ctx): not_set_raiders, sheet_title = get_not_set_raiders() if not not_set_raiders: await ctx.send('All raiders are signed for this reset, good job!') return await self.send_attendance_message(ctx, not_set_raiders, sheet_title)
async def ping_command(self, ctx): if ctx.author.id in self.client.trusted_ids: await ctx.send('Currently running on server {0}'.format( self.client.channel.guild)) await ctx.send( 'Bot is currently set to ping at times {}. Type .changeTimes to change this' .format(', '.join(self.client.notification_times))) await ctx.send( 'Bot is currently set to ping at days {}. Type .changeDays to change this' .format(', '.join( [str(a) for a in self.client.notification_days]))) await ctx.send('Output from current not set raiders: {0}'.format( get_not_set_raiders()))
async def attendance_msg_task(self): not_set_raiders, sheet_title = get_not_set_raiders() await self.send_attendance_message(ctx=None, not_set_raiders=not_set_raiders, sheet_title=sheet_title)