Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
from this
[code]
178 # Bot
179 print("Discord API version: {0}".format(discord.__version__))
180 bot = commands.Bot(command_prefix = settings['command-prefix'] + ' ', description = 'A bot that connects an Avorion game server and a Discord server.')
[/code]
to this
[code]
178 # Bot
179 print("Discord API version: {0}".format(discord.__version__))
180 # 20250509 Martin, compatibility to Discord.py 2.* >>>
181 intents = discord.Intents.default()
182 intents.message_content = True
183 bot = commands.Bot(command_prefix = settings['command-prefix'] + ' ', description = 'A bot that connects an Avorion game server and a Discord server.', intents=intents)
184 # <<<
[/code]
Regards Martin
!announcer setchannel [admin]
Something went wrong :/
i don't understand the problem
It is also possible to do this with PERL.
For Net and Perl there are Discord-projects on GIT-hub that work.
In my experience, phyton is not stable enough. Every update brings new problems with modules that no longer work.
"Error finding home directory: getpwuid(getuid()) returned NULL"
"Error calling checkWriteSecureFilename: Could not find a suitable directory for saving files."
anytime I launch the server. not sure what to change to get working