Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main.py #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@
from assist import Assistant
from top_api import top_setup

INVOCATION_PREFIXES = ['hey google,', 'ok google,', 'okay google,']
INVOCATION_PREFIXES = ['la gardaş bak hele,', 'ula uşağum bak bağa da,', 'Googlecum bana bakar mısın,']

HELP_MESSAGE = '''I\'m your Google Assistant :grinning:
Ready to help, just say `Hey Google, `
Your queries are not handled directly,
queries are handled by a Neural Network on Google cloud servers.
Help is the only hardcoded command.'''
HELP_MESSAGE = '''Abi beklettiğim için kusuruma bakma.Ben senin asistanınım :grinning:
Yardım etmemi istiyorsan, "Googlecum bana bakar mısın" demen yeterli Sorgularınız doğrudan ele alınmaz,
sorgular, Google bulut sunucularında bir Sinir Ağı tarafından işlenir.
Yardım, sabit kodlanmış tek komuttur.'''

ERROR_MESSAGE = '''Sorry, I can't help with that yet'''
ERROR_MESSAGE = '''Abi üzülmeni istemem ama şuanlık sana yardımcı olamam'''


class AssistantDiscordBot(AutoShardedBot):
"""Responds to Discord User Queries"""
"""Discord Hesap bilgi sorgularına yardımcı olur"""

def __init__(
self,
Expand All @@ -39,7 +38,7 @@ def __init__(
)

async def on_ready(self):
print('Logged in as')
print('olarak giriş yaptı')
print(self.user.name)
print(self.user.id)
print('------')
Expand Down