mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Revert to bot message if webhook failed to create SOMEHOW
This commit is contained in:
		@@ -171,7 +171,10 @@ def get_channel_webhook_url(guild_id, channel_id):
 | 
			
		||||
                "token": webhook["token"]
 | 
			
		||||
            }
 | 
			
		||||
    webhook = discord_api.create_webhook(channel_id, name)
 | 
			
		||||
    return webhook["content"]
 | 
			
		||||
    if webhook and "content" in webhook:
 | 
			
		||||
        return webhook["content"]
 | 
			
		||||
    else:
 | 
			
		||||
        return None
 | 
			
		||||
 | 
			
		||||
def get_all_users(guild_id):
 | 
			
		||||
    users = redisqueue.list_guild_members(guild_id)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user