Init commit

This commit is contained in:
Sweetbread
2023-05-03 19:53:01 +03:00
commit 12c87b99d3
45 changed files with 3890 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import discord
from discord import app_commands
from discord.ext import commands
import translators as ts
#async def setup(bot):
@bot.tree.context_menu()
async def translate(inter: discord.Interaction, message: discord.Message):
await inter.response.send_message(ts.google(message.content, to_language=str(inter.locale)), ephemeral=True)